diff --git a/.speakeasy/gen.lock b/.speakeasy/gen.lock index 8a9ae46..ad69877 100755 --- a/.speakeasy/gen.lock +++ b/.speakeasy/gen.lock @@ -1,12 +1,12 @@ lockVersion: 2.0.0 id: b81e5def-5b1e-4753-ae7c-0efccc2e6f61 management: - docChecksum: 42c48d212003a57034dde18e8b83f912 + docChecksum: 173f20beea4b96421d5c18e6c34cd581 docVersion: 0.0.1 - speakeasyVersion: 1.400.1 - generationVersion: 2.420.2 - releaseVersion: 0.0.13 - configChecksum: 6841b42e3bbd1466d5f9879f23a04b00 + speakeasyVersion: 1.401.2 + generationVersion: 2.421.3 + releaseVersion: 0.0.14 + configChecksum: db87764003c94ae1bf990fd868a238f1 features: go: additionalDependencies: 0.1.0 @@ -51,10 +51,8 @@ generatedFiles: - /models/components/consumerinput.go - /models/components/controlplane.go - /models/components/controlplanesummary.go - - /models/components/cpregion.go - /models/components/createcontrolplanerequest.go - /models/components/createpluginschemas.go - - /models/components/createserverlesscloudgatewayrequest.go - /models/components/createsystemaccount.go - /models/components/createsystemaccountaccesstoken.go - /models/components/createteam.go @@ -93,7 +91,6 @@ generatedFiles: - /models/components/listnodes.go - /models/components/listnodeseol.go - /models/components/listpluginschemas.go - - /models/components/listserverlesscloudgatewaysresponse.go - /models/components/meorganization.go - /models/components/pagemeta.go - /models/components/paginatedmeta.go @@ -106,8 +103,6 @@ generatedFiles: - /models/components/route.go - /models/components/routewithoutparents.go - /models/components/security.go - - /models/components/serverlesscloudgateway.go - - /models/components/serverlesscontrolplane.go - /models/components/service.go - /models/components/sni.go - /models/components/sniwithoutparents.go @@ -164,7 +159,6 @@ generatedFiles: - /models/operations/createpluginwithservice.go - /models/operations/createroute.go - /models/operations/createroutewithservice.go - - /models/operations/createserverlesscloudgateway.go - /models/operations/createservice.go - /models/operations/createsni.go - /models/operations/createsniwithcertificate.go @@ -192,7 +186,6 @@ generatedFiles: - /models/operations/deletepluginwithservice.go - /models/operations/deleteroute.go - /models/operations/deleteroutewithservice.go - - /models/operations/deleteserverlesscloudgateway.go - /models/operations/deleteservice.go - /models/operations/deletesni.go - /models/operations/deletesniwithcertificate.go @@ -237,7 +230,6 @@ generatedFiles: - /models/operations/getpredefinedroles.go - /models/operations/getroute.go - /models/operations/getroutewithservice.go - - /models/operations/getserverlesscloudgateway.go - /models/operations/getservice.go - /models/operations/getsni.go - /models/operations/getsniwithcertificate.go @@ -282,7 +274,6 @@ generatedFiles: - /models/operations/listpluginwithservice.go - /models/operations/listroute.go - /models/operations/listroutewithservice.go - - /models/operations/listserverlesscloudgateway.go - /models/operations/listservice.go - /models/operations/listsni.go - /models/operations/listsniwithcertificate.go @@ -304,6 +295,7 @@ generatedFiles: - /models/operations/postsystemaccountsaccountidassignedroles.go - /models/operations/postsystemaccountsidaccesstokens.go - /models/operations/postteamsteamidsystemaccounts.go + - /models/operations/putcontrolplanesidgroupmemberships.go - /models/operations/removeconsumerfromgroup.go - /models/operations/removeuserfromteam.go - /models/operations/teamsassignrole.go @@ -403,10 +395,8 @@ generatedFiles: - docs/models/components/controlplanesummaryauthtype.md - docs/models/components/controlplanesummaryclustertype.md - docs/models/components/controlplanesummaryconfig.md - - docs/models/components/cpregion.md - docs/models/components/createcontrolplanerequest.md - docs/models/components/createpluginschemas.md - - docs/models/components/createserverlesscloudgatewayrequest.md - docs/models/components/createsystemaccount.md - docs/models/components/createsystemaccountaccesstoken.md - docs/models/components/createteam.md @@ -474,7 +464,6 @@ generatedFiles: - docs/models/components/listnodesitems.md - docs/models/components/listnodespage.md - docs/models/components/listpluginschemas.md - - docs/models/components/listserverlesscloudgatewaysresponse.md - docs/models/components/maintainer.md - docs/models/components/mappings.md - docs/models/components/members.md @@ -587,8 +576,6 @@ generatedFiles: - docs/models/components/routewithoutparentssources.md - docs/models/components/rule.md - docs/models/components/security.md - - docs/models/components/serverlesscloudgateway.md - - docs/models/components/serverlesscontrolplane.md - docs/models/components/service.md - docs/models/components/set.md - docs/models/components/sni.md @@ -686,7 +673,6 @@ generatedFiles: - docs/models/operations/createrouteresponse.md - docs/models/operations/createroutewithservicerequest.md - docs/models/operations/createroutewithserviceresponse.md - - docs/models/operations/createserverlesscloudgatewayresponse.md - docs/models/operations/createservicerequest.md - docs/models/operations/createserviceresponse.md - docs/models/operations/createsnirequest.md @@ -740,8 +726,6 @@ generatedFiles: - docs/models/operations/deleterouteresponse.md - docs/models/operations/deleteroutewithservicerequest.md - docs/models/operations/deleteroutewithserviceresponse.md - - docs/models/operations/deleteserverlesscloudgatewayrequest.md - - docs/models/operations/deleteserverlesscloudgatewayresponse.md - docs/models/operations/deleteservicerequest.md - docs/models/operations/deleteserviceresponse.md - docs/models/operations/deletesnirequest.md @@ -827,8 +811,6 @@ generatedFiles: - docs/models/operations/getrouteresponse.md - docs/models/operations/getroutewithservicerequest.md - docs/models/operations/getroutewithserviceresponse.md - - docs/models/operations/getserverlesscloudgatewayrequest.md - - docs/models/operations/getserverlesscloudgatewayresponse.md - docs/models/operations/getservicerequest.md - docs/models/operations/getserviceresponse.md - docs/models/operations/getsnirequest.md @@ -940,8 +922,6 @@ generatedFiles: - docs/models/operations/listroutewithservicerequest.md - docs/models/operations/listroutewithserviceresponse.md - docs/models/operations/listroutewithserviceresponsebody.md - - docs/models/operations/listserverlesscloudgatewayrequest.md - - docs/models/operations/listserverlesscloudgatewayresponse.md - docs/models/operations/listservicerequest.md - docs/models/operations/listserviceresponse.md - docs/models/operations/listserviceresponsebody.md @@ -994,6 +974,8 @@ generatedFiles: - docs/models/operations/postsystemaccountsresponse.md - docs/models/operations/postteamsteamidsystemaccountsrequest.md - docs/models/operations/postteamsteamidsystemaccountsresponse.md + - docs/models/operations/putcontrolplanesidgroupmembershipsrequest.md + - docs/models/operations/putcontrolplanesidgroupmembershipsresponse.md - docs/models/operations/queryparamfilter.md - docs/models/operations/removeconsumerfromgrouprequest.md - docs/models/operations/removeconsumerfromgroupresponse.md @@ -1103,7 +1085,6 @@ generatedFiles: - roles.go - routes.go - sdk.go - - serverlesscloudgateways.go - services.go - snis.go - systemaccounts.go @@ -1397,10 +1378,13 @@ examples: parameters: path: controlPlaneId: "9524ec7d-36d9-465d-a8c5-83a3c9390458" + requestBody: + application/json: {"cert": ""} responses: "401": application/json: {"message": "", "status": 812329} - "201": {} + "201": + application/json: {"cert": ""} get-ca_certificate: "": parameters: @@ -1410,17 +1394,21 @@ examples: responses: "401": application/json: {"message": "", "status": 834989} - "200": {} + "200": + application/json: {"cert": ""} upsert-ca_certificate: "": parameters: path: controlPlaneId: "9524ec7d-36d9-465d-a8c5-83a3c9390458" CACertificateId: "3c31f18a-f27a-4f9b-8cd4-bf841554612f" + requestBody: + application/json: {"cert": ""} responses: "401": application/json: {"message": "", "status": 10999} - "200": {} + "200": + application/json: {"cert": ""} delete-ca_certificate: "": parameters: @@ -1454,10 +1442,13 @@ examples: parameters: path: controlPlaneId: "9524ec7d-36d9-465d-a8c5-83a3c9390458" + requestBody: + application/json: {"cert": "", "key": ""} responses: "401": application/json: {"message": "", "status": 143829} - "201": {} + "201": + application/json: {"cert": "", "key": ""} get-certificate: "": parameters: @@ -1467,17 +1458,21 @@ examples: responses: "401": application/json: {"message": "", "status": 173775} - "200": {} + "200": + application/json: {"cert": "", "key": ""} upsert-certificate: "": parameters: path: controlPlaneId: "9524ec7d-36d9-465d-a8c5-83a3c9390458" CertificateId: "ddf3cdaa-3329-4961-822a-ce6dbd38eff7" + requestBody: + application/json: {"cert": "", "key": ""} responses: "401": application/json: {"message": "", "status": 45220} - "200": {} + "200": + application/json: {"cert": "", "key": ""} delete-certificate: "": parameters: @@ -1501,6 +1496,11 @@ examples: path: controlPlaneId: "9524ec7d-36d9-465d-a8c5-83a3c9390458" CertificateId: "ddf3cdaa-3329-4961-822a-ce6dbd38eff7" + requestBody: + application/json: {"name": ""} + responses: + "201": + application/json: {"name": ""} get-sni-with-certificate: "": parameters: @@ -1508,6 +1508,9 @@ examples: controlPlaneId: "9524ec7d-36d9-465d-a8c5-83a3c9390458" CertificateId: "ddf3cdaa-3329-4961-822a-ce6dbd38eff7" SNIId: "64c17a1a-b7d7-4a65-a5a4-42e4a7016e7f" + responses: + "200": + application/json: {"name": ""} upsert-sni-with-certificate: "": parameters: @@ -1515,6 +1518,11 @@ examples: controlPlaneId: "9524ec7d-36d9-465d-a8c5-83a3c9390458" CertificateId: "ddf3cdaa-3329-4961-822a-ce6dbd38eff7" SNIId: "64c17a1a-b7d7-4a65-a5a4-42e4a7016e7f" + requestBody: + application/json: {"name": ""} + responses: + "200": + application/json: {"name": ""} delete-sni-with-certificate: "": parameters: @@ -1546,10 +1554,13 @@ examples: parameters: path: controlPlaneId: "9524ec7d-36d9-465d-a8c5-83a3c9390458" + requestBody: + application/json: {"name": ""} responses: "401": application/json: {"message": "", "status": 805552} - "201": {} + "201": + application/json: {"name": ""} get-sni: "": parameters: @@ -1559,17 +1570,21 @@ examples: responses: "401": application/json: {"message": "", "status": 786293} - "200": {} + "200": + application/json: {"name": ""} upsert-sni: "": parameters: path: controlPlaneId: "9524ec7d-36d9-465d-a8c5-83a3c9390458" SNIId: "64c17a1a-b7d7-4a65-a5a4-42e4a7016e7f" + requestBody: + application/json: {"name": ""} responses: "401": application/json: {"message": "", "status": 145107} - "200": {} + "200": + application/json: {"name": ""} delete-sni: "": parameters: @@ -1603,10 +1618,13 @@ examples: parameters: path: controlPlaneId: "9524ec7d-36d9-465d-a8c5-83a3c9390458" + requestBody: + application/json: {"name": ""} responses: "401": application/json: {"message": "", "status": 933383} - "201": {} + "201": + application/json: {"name": ""} get-consumer_group: "": parameters: @@ -1623,10 +1641,13 @@ examples: path: controlPlaneId: "9524ec7d-36d9-465d-a8c5-83a3c9390458" ConsumerGroupId: "" + requestBody: + application/json: {"name": ""} responses: "401": application/json: {"message": "", "status": 153550} - "200": {} + "200": + application/json: {"name": ""} delete-consumer_group: "": parameters: @@ -1927,10 +1948,13 @@ examples: parameters: path: controlPlaneId: "9524ec7d-36d9-465d-a8c5-83a3c9390458" + requestBody: + application/json: {"kid": ""} responses: "401": application/json: {"message": "", "status": 907390} - "201": {} + "201": + application/json: {"kid": ""} get-key: "": parameters: @@ -1940,17 +1964,21 @@ examples: responses: "401": application/json: {"message": "", "status": 265510} - "200": {} + "200": + application/json: {"kid": ""} upsert-key: "": parameters: path: controlPlaneId: "9524ec7d-36d9-465d-a8c5-83a3c9390458" KeyId: "bba22c06-a632-42be-a018-1b9ff357b5b9" + requestBody: + application/json: {"kid": ""} responses: "401": application/json: {"message": "", "status": 385247} - "200": {} + "200": + application/json: {"kid": ""} delete-key: "": parameters: @@ -2064,10 +2092,13 @@ examples: parameters: path: controlPlaneId: "9524ec7d-36d9-465d-a8c5-83a3c9390458" + requestBody: + application/json: {"config": {}, "name": ""} responses: "401": application/json: {"message": "", "status": 130029} - "201": {} + "201": + application/json: {"config": {"key": "", "key1": ""}, "name": ""} get-plugin: "": parameters: @@ -2077,17 +2108,21 @@ examples: responses: "401": application/json: {"message": "", "status": 929065} - "200": {} + "200": + application/json: {"config": {"key": "", "key1": "", "key2": ""}, "name": ""} upsert-plugin: "": parameters: path: controlPlaneId: "9524ec7d-36d9-465d-a8c5-83a3c9390458" PluginId: "3473c251-5b6c-4f45-b1ff-7ede735a366d" + requestBody: + application/json: {"config": {}, "name": ""} responses: "401": application/json: {"message": "", "status": 114024} - "200": {} + "200": + application/json: {"config": {"key": "", "key1": ""}, "name": ""} delete-plugin: "": parameters: @@ -2111,6 +2146,11 @@ examples: path: controlPlaneId: "9524ec7d-36d9-465d-a8c5-83a3c9390458" RouteId: "a4326a41-aa12-44e3-93e4-6b6e58bfb9d7" + requestBody: + application/json: {"config": {}, "name": ""} + responses: + "201": + application/json: {"config": {"key": "", "key1": ""}, "name": ""} get-plugin-with-route: "": parameters: @@ -2118,6 +2158,9 @@ examples: controlPlaneId: "9524ec7d-36d9-465d-a8c5-83a3c9390458" RouteId: "a4326a41-aa12-44e3-93e4-6b6e58bfb9d7" PluginId: "3473c251-5b6c-4f45-b1ff-7ede735a366d" + responses: + "200": + application/json: {"config": {"key": ""}, "name": ""} upsert-plugin-with-route: "": parameters: @@ -2125,6 +2168,11 @@ examples: controlPlaneId: "9524ec7d-36d9-465d-a8c5-83a3c9390458" RouteId: "a4326a41-aa12-44e3-93e4-6b6e58bfb9d7" PluginId: "3473c251-5b6c-4f45-b1ff-7ede735a366d" + requestBody: + application/json: {"config": {"key": ""}, "name": ""} + responses: + "200": + application/json: {"config": {"key": "", "key1": "", "key2": ""}, "name": ""} delete-plugin-with-route: "": parameters: @@ -2157,6 +2205,11 @@ examples: path: controlPlaneId: "9524ec7d-36d9-465d-a8c5-83a3c9390458" ServiceId: "7fca84d6-7d37-4a74-a7b0-93e576089a41" + requestBody: + application/json: {"config": {"key": ""}, "name": ""} + responses: + "201": + application/json: {"config": {}, "name": ""} get-plugin-with-service: "": parameters: @@ -2164,6 +2217,9 @@ examples: controlPlaneId: "9524ec7d-36d9-465d-a8c5-83a3c9390458" ServiceId: "7fca84d6-7d37-4a74-a7b0-93e576089a41" PluginId: "3473c251-5b6c-4f45-b1ff-7ede735a366d" + responses: + "200": + application/json: {"config": {}, "name": ""} upsert-plugin-with-service: "": parameters: @@ -2171,6 +2227,11 @@ examples: controlPlaneId: "9524ec7d-36d9-465d-a8c5-83a3c9390458" ServiceId: "7fca84d6-7d37-4a74-a7b0-93e576089a41" PluginId: "3473c251-5b6c-4f45-b1ff-7ede735a366d" + requestBody: + application/json: {"config": {}, "name": ""} + responses: + "200": + application/json: {"config": {"key": "", "key1": ""}, "name": ""} delete-plugin-with-service: "": parameters: @@ -2361,10 +2422,13 @@ examples: parameters: path: controlPlaneId: "9524ec7d-36d9-465d-a8c5-83a3c9390458" + requestBody: + application/json: {"name": ""} responses: "401": application/json: {"message": "", "status": 670650} - "201": {} + "201": + application/json: {"name": ""} get-upstream: "": parameters: @@ -2374,17 +2438,21 @@ examples: responses: "401": application/json: {"message": "", "status": 104017} - "200": {} + "200": + application/json: {"name": ""} upsert-upstream: "": parameters: path: controlPlaneId: "9524ec7d-36d9-465d-a8c5-83a3c9390458" UpstreamId: "426d620c-7058-4ae6-aacc-f85a3204a2c5" + requestBody: + application/json: {"name": ""} responses: "401": application/json: {"message": "", "status": 59493} - "200": {} + "200": + application/json: {"name": ""} delete-upstream: "": parameters: @@ -2453,10 +2521,13 @@ examples: parameters: path: controlPlaneId: "9524ec7d-36d9-465d-a8c5-83a3c9390458" + requestBody: + application/json: {"name": "", "prefix": ""} responses: "401": application/json: {"message": "", "status": 954798} - "201": {} + "201": + application/json: {"name": "", "prefix": ""} get-vault: "": parameters: @@ -2466,17 +2537,21 @@ examples: responses: "401": application/json: {"message": "", "status": 429820} - "200": {} + "200": + application/json: {"name": "", "prefix": ""} upsert-vault: "": parameters: path: controlPlaneId: "9524ec7d-36d9-465d-a8c5-83a3c9390458" VaultId: "9d4d6d19-77c6-428e-a965-9bc9647633e9" + requestBody: + application/json: {"name": "", "prefix": ""} responses: "401": application/json: {"message": "", "status": 63413} - "200": {} + "200": + application/json: {"name": "", "prefix": ""} delete-vault: "": parameters: @@ -3301,3 +3376,19 @@ examples: ConsumerId: "c1059869-6fa7-4329-a5f5-5946d14ca2c5" query: tags: "tag1,tag2" + put-control-planes-id-group-memberships: + speakeasy-default-put-control-planes-id-group-memberships: + parameters: + path: + id: "" + responses: + "400": + application/problem+json: {"status": 768745, "title": "", "instance": "", "detail": "", "invalid_parameters": [{"field": "name", "rule": "enum", "reason": "is a required field", "choices": [""], "source": "body"}, {"field": "name", "rule": "enum", "reason": "is a required field", "choices": ["", ""], "source": "body"}]} + "401": + application/problem+json: {"status": 401, "title": "Unauthorized", "type": "https://httpstatuses.com/401", "instance": "kong:trace:1234567890", "detail": "Invalid credentials"} + "403": + application/problem+json: {"status": 403, "title": "Forbidden", "type": "https://httpstatuses.com/403", "instance": "kong:trace:1234567890", "detail": "Forbidden"} + "404": + application/problem+json: {"status": 404, "title": "Not Found", "type": "https://httpstatuses.com/404", "instance": "kong:trace:1234567890", "detail": "Not found"} + "503": + application/problem+json: {"status": 503, "title": "Service Unavailable", "instance": "konnect:trace:2287285207635123011", "detail": "Could not retrieve permissions to check resource accessibility."} diff --git a/.speakeasy/gen.yaml b/.speakeasy/gen.yaml index 626bddc..6a933b4 100755 --- a/.speakeasy/gen.yaml +++ b/.speakeasy/gen.yaml @@ -12,7 +12,7 @@ generation: auth: oAuth2ClientCredentialsEnabled: false go: - version: 0.0.13 + version: 0.0.14 additionalDependencies: {} allowUnknownFieldsInWeakUnions: false clientServerStatusCodesAsErrors: true diff --git a/README.md b/README.md index 15098f2..feab870 100644 --- a/README.md +++ b/README.md @@ -10,11 +10,13 @@ This is a prototype and should not be used. See [CONTRIBUTING.md](https://github Handling errors in this SDK should largely match your expectations. All operations return a response object or an error, they will never return both. When specified by the OpenAPI spec document, the SDK will return the appropriate subclass. -| Error Object | Status Code | Content Type | -| --------------------------- | --------------------------- | --------------------------- | -| sdkerrors.UnauthorizedError | 401 | application/problem+json | -| sdkerrors.ForbiddenError | 403 | application/problem+json | -| sdkerrors.SDKError | 4xx-5xx | */* | +| Error Object | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| sdkerrors.BadRequestError | 400 | application/problem+json | +| sdkerrors.UnauthorizedError | 401 | application/problem+json | +| sdkerrors.ForbiddenError | 403 | application/problem+json | +| sdkerrors.ServiceUnavailable | 503 | application/problem+json | +| sdkerrors.SDKError | 4xx-5xx | */* | ### Example @@ -39,13 +41,30 @@ func main() { ) ctx := context.Background() - res, err := s.ServerlessCloudGateways.ListServerlessCloudGateway(ctx, operations.ListServerlessCloudGatewayRequest{ - PageSize: sdkkonnectgo.Int64(10), - PageNumber: sdkkonnectgo.Int64(1), - Labels: sdkkonnectgo.String("filter[labels][eq]=env:prod"), + res, err := s.ControlPlanes.ListControlPlanes(ctx, operations.ListControlPlanesRequest{ + PageSize: sdkkonnectgo.Int64(10), + PageNumber: sdkkonnectgo.Int64(1), + FilterNameEq: sdkkonnectgo.String("test"), + FilterName: sdkkonnectgo.String("test"), + FilterNameContains: sdkkonnectgo.String("test"), + FilterNameNeq: sdkkonnectgo.String("test"), + FilterIDEq: sdkkonnectgo.String("7f9fd312-a987-4628-b4c5-bb4f4fddd5f7"), + FilterID: sdkkonnectgo.String("7f9fd312-a987-4628-b4c5-bb4f4fddd5f7"), + FilterIDOeq: sdkkonnectgo.String("some-value,some-other-value"), + FilterClusterTypeEq: sdkkonnectgo.String("CLUSTER_TYPE_CONTROL_PLANE"), + FilterClusterType: sdkkonnectgo.String("CLUSTER_TYPE_CONTROL_PLANE"), + FilterClusterTypeNeq: sdkkonnectgo.String("test"), + Labels: sdkkonnectgo.String("key:value,existCheck"), + Sort: sdkkonnectgo.String("name,created_at desc"), }) if err != nil { + var e *sdkerrors.BadRequestError + if errors.As(err, &e) { + // handle error + log.Fatal(e.Error()) + } + var e *sdkerrors.UnauthorizedError if errors.As(err, &e) { // handle error @@ -58,6 +77,12 @@ func main() { log.Fatal(e.Error()) } + var e *sdkerrors.ServiceUnavailable + if errors.As(err, &e) { + // handle error + log.Fatal(e.Error()) + } + var e *sdkerrors.SDKError if errors.As(err, &e) { // handle error @@ -105,15 +130,26 @@ func main() { ) ctx := context.Background() - res, err := s.ServerlessCloudGateways.ListServerlessCloudGateway(ctx, operations.ListServerlessCloudGatewayRequest{ - PageSize: sdkkonnectgo.Int64(10), - PageNumber: sdkkonnectgo.Int64(1), - Labels: sdkkonnectgo.String("filter[labels][eq]=env:prod"), + res, err := s.ControlPlanes.ListControlPlanes(ctx, operations.ListControlPlanesRequest{ + PageSize: sdkkonnectgo.Int64(10), + PageNumber: sdkkonnectgo.Int64(1), + FilterNameEq: sdkkonnectgo.String("test"), + FilterName: sdkkonnectgo.String("test"), + FilterNameContains: sdkkonnectgo.String("test"), + FilterNameNeq: sdkkonnectgo.String("test"), + FilterIDEq: sdkkonnectgo.String("7f9fd312-a987-4628-b4c5-bb4f4fddd5f7"), + FilterID: sdkkonnectgo.String("7f9fd312-a987-4628-b4c5-bb4f4fddd5f7"), + FilterIDOeq: sdkkonnectgo.String("some-value,some-other-value"), + FilterClusterTypeEq: sdkkonnectgo.String("CLUSTER_TYPE_CONTROL_PLANE"), + FilterClusterType: sdkkonnectgo.String("CLUSTER_TYPE_CONTROL_PLANE"), + FilterClusterTypeNeq: sdkkonnectgo.String("test"), + Labels: sdkkonnectgo.String("key:value,existCheck"), + Sort: sdkkonnectgo.String("name,created_at desc"), }) if err != nil { log.Fatal(err) } - if res.ListServerlessCloudGatewaysResponse != nil { + if res.ListControlPlanesResponse != nil { // handle response } } @@ -144,15 +180,26 @@ func main() { ) ctx := context.Background() - res, err := s.ServerlessCloudGateways.ListServerlessCloudGateway(ctx, operations.ListServerlessCloudGatewayRequest{ - PageSize: sdkkonnectgo.Int64(10), - PageNumber: sdkkonnectgo.Int64(1), - Labels: sdkkonnectgo.String("filter[labels][eq]=env:prod"), + res, err := s.ControlPlanes.ListControlPlanes(ctx, operations.ListControlPlanesRequest{ + PageSize: sdkkonnectgo.Int64(10), + PageNumber: sdkkonnectgo.Int64(1), + FilterNameEq: sdkkonnectgo.String("test"), + FilterName: sdkkonnectgo.String("test"), + FilterNameContains: sdkkonnectgo.String("test"), + FilterNameNeq: sdkkonnectgo.String("test"), + FilterIDEq: sdkkonnectgo.String("7f9fd312-a987-4628-b4c5-bb4f4fddd5f7"), + FilterID: sdkkonnectgo.String("7f9fd312-a987-4628-b4c5-bb4f4fddd5f7"), + FilterIDOeq: sdkkonnectgo.String("some-value,some-other-value"), + FilterClusterTypeEq: sdkkonnectgo.String("CLUSTER_TYPE_CONTROL_PLANE"), + FilterClusterType: sdkkonnectgo.String("CLUSTER_TYPE_CONTROL_PLANE"), + FilterClusterTypeNeq: sdkkonnectgo.String("test"), + Labels: sdkkonnectgo.String("key:value,existCheck"), + Sort: sdkkonnectgo.String("name,created_at desc"), }) if err != nil { log.Fatal(err) } - if res.ListServerlessCloudGatewaysResponse != nil { + if res.ListControlPlanesResponse != nil { // handle response } } @@ -181,15 +228,11 @@ func main() { ) ctx := context.Background() - res, err := s.ServerlessCloudGateways.ListServerlessCloudGateway(ctx, operations.ListServerlessCloudGatewayRequest{ - PageSize: sdkkonnectgo.Int64(10), - PageNumber: sdkkonnectgo.Int64(1), - Labels: sdkkonnectgo.String("filter[labels][eq]=env:prod"), - }, operations.WithServerURL("https://global.api.konghq.com/")) + res, err := s.Authentication.AuthenticateSso(ctx, "", nil, operations.WithServerURL("https://global.api.konghq.com/")) if err != nil { log.Fatal(err) } - if res.ListServerlessCloudGatewaysResponse != nil { + if res != nil { // handle response } } @@ -259,15 +302,26 @@ func main() { ) ctx := context.Background() - res, err := s.ServerlessCloudGateways.ListServerlessCloudGateway(ctx, operations.ListServerlessCloudGatewayRequest{ - PageSize: sdkkonnectgo.Int64(10), - PageNumber: sdkkonnectgo.Int64(1), - Labels: sdkkonnectgo.String("filter[labels][eq]=env:prod"), + res, err := s.ControlPlanes.ListControlPlanes(ctx, operations.ListControlPlanesRequest{ + PageSize: sdkkonnectgo.Int64(10), + PageNumber: sdkkonnectgo.Int64(1), + FilterNameEq: sdkkonnectgo.String("test"), + FilterName: sdkkonnectgo.String("test"), + FilterNameContains: sdkkonnectgo.String("test"), + FilterNameNeq: sdkkonnectgo.String("test"), + FilterIDEq: sdkkonnectgo.String("7f9fd312-a987-4628-b4c5-bb4f4fddd5f7"), + FilterID: sdkkonnectgo.String("7f9fd312-a987-4628-b4c5-bb4f4fddd5f7"), + FilterIDOeq: sdkkonnectgo.String("some-value,some-other-value"), + FilterClusterTypeEq: sdkkonnectgo.String("CLUSTER_TYPE_CONTROL_PLANE"), + FilterClusterType: sdkkonnectgo.String("CLUSTER_TYPE_CONTROL_PLANE"), + FilterClusterTypeNeq: sdkkonnectgo.String("test"), + Labels: sdkkonnectgo.String("key:value,existCheck"), + Sort: sdkkonnectgo.String("name,created_at desc"), }) if err != nil { log.Fatal(err) } - if res.ListServerlessCloudGatewaysResponse != nil { + if res.ListControlPlanesResponse != nil { // handle response } } @@ -330,10 +384,21 @@ func main() { ) ctx := context.Background() - res, err := s.ServerlessCloudGateways.ListServerlessCloudGateway(ctx, operations.ListServerlessCloudGatewayRequest{ - PageSize: sdkkonnectgo.Int64(10), - PageNumber: sdkkonnectgo.Int64(1), - Labels: sdkkonnectgo.String("filter[labels][eq]=env:prod"), + res, err := s.ControlPlanes.ListControlPlanes(ctx, operations.ListControlPlanesRequest{ + PageSize: sdkkonnectgo.Int64(10), + PageNumber: sdkkonnectgo.Int64(1), + FilterNameEq: sdkkonnectgo.String("test"), + FilterName: sdkkonnectgo.String("test"), + FilterNameContains: sdkkonnectgo.String("test"), + FilterNameNeq: sdkkonnectgo.String("test"), + FilterIDEq: sdkkonnectgo.String("7f9fd312-a987-4628-b4c5-bb4f4fddd5f7"), + FilterID: sdkkonnectgo.String("7f9fd312-a987-4628-b4c5-bb4f4fddd5f7"), + FilterIDOeq: sdkkonnectgo.String("some-value,some-other-value"), + FilterClusterTypeEq: sdkkonnectgo.String("CLUSTER_TYPE_CONTROL_PLANE"), + FilterClusterType: sdkkonnectgo.String("CLUSTER_TYPE_CONTROL_PLANE"), + FilterClusterTypeNeq: sdkkonnectgo.String("test"), + Labels: sdkkonnectgo.String("key:value,existCheck"), + Sort: sdkkonnectgo.String("name,created_at desc"), }, operations.WithRetries( retry.Config{ Strategy: "backoff", @@ -348,7 +413,7 @@ func main() { if err != nil { log.Fatal(err) } - if res.ListServerlessCloudGatewaysResponse != nil { + if res.ListControlPlanesResponse != nil { // handle response } } @@ -387,15 +452,26 @@ func main() { ) ctx := context.Background() - res, err := s.ServerlessCloudGateways.ListServerlessCloudGateway(ctx, operations.ListServerlessCloudGatewayRequest{ - PageSize: sdkkonnectgo.Int64(10), - PageNumber: sdkkonnectgo.Int64(1), - Labels: sdkkonnectgo.String("filter[labels][eq]=env:prod"), + res, err := s.ControlPlanes.ListControlPlanes(ctx, operations.ListControlPlanesRequest{ + PageSize: sdkkonnectgo.Int64(10), + PageNumber: sdkkonnectgo.Int64(1), + FilterNameEq: sdkkonnectgo.String("test"), + FilterName: sdkkonnectgo.String("test"), + FilterNameContains: sdkkonnectgo.String("test"), + FilterNameNeq: sdkkonnectgo.String("test"), + FilterIDEq: sdkkonnectgo.String("7f9fd312-a987-4628-b4c5-bb4f4fddd5f7"), + FilterID: sdkkonnectgo.String("7f9fd312-a987-4628-b4c5-bb4f4fddd5f7"), + FilterIDOeq: sdkkonnectgo.String("some-value,some-other-value"), + FilterClusterTypeEq: sdkkonnectgo.String("CLUSTER_TYPE_CONTROL_PLANE"), + FilterClusterType: sdkkonnectgo.String("CLUSTER_TYPE_CONTROL_PLANE"), + FilterClusterTypeNeq: sdkkonnectgo.String("test"), + Labels: sdkkonnectgo.String("key:value,existCheck"), + Sort: sdkkonnectgo.String("name,created_at desc"), }) if err != nil { log.Fatal(err) } - if res.ListServerlessCloudGatewaysResponse != nil { + if res.ListControlPlanesResponse != nil { // handle response } } diff --git a/USAGE.md b/USAGE.md index da62273..e448a8c 100644 --- a/USAGE.md +++ b/USAGE.md @@ -18,15 +18,26 @@ func main() { ) ctx := context.Background() - res, err := s.ServerlessCloudGateways.ListServerlessCloudGateway(ctx, operations.ListServerlessCloudGatewayRequest{ - PageSize: sdkkonnectgo.Int64(10), - PageNumber: sdkkonnectgo.Int64(1), - Labels: sdkkonnectgo.String("filter[labels][eq]=env:prod"), + res, err := s.ControlPlanes.ListControlPlanes(ctx, operations.ListControlPlanesRequest{ + PageSize: sdkkonnectgo.Int64(10), + PageNumber: sdkkonnectgo.Int64(1), + FilterNameEq: sdkkonnectgo.String("test"), + FilterName: sdkkonnectgo.String("test"), + FilterNameContains: sdkkonnectgo.String("test"), + FilterNameNeq: sdkkonnectgo.String("test"), + FilterIDEq: sdkkonnectgo.String("7f9fd312-a987-4628-b4c5-bb4f4fddd5f7"), + FilterID: sdkkonnectgo.String("7f9fd312-a987-4628-b4c5-bb4f4fddd5f7"), + FilterIDOeq: sdkkonnectgo.String("some-value,some-other-value"), + FilterClusterTypeEq: sdkkonnectgo.String("CLUSTER_TYPE_CONTROL_PLANE"), + FilterClusterType: sdkkonnectgo.String("CLUSTER_TYPE_CONTROL_PLANE"), + FilterClusterTypeNeq: sdkkonnectgo.String("test"), + Labels: sdkkonnectgo.String("key:value,existCheck"), + Sort: sdkkonnectgo.String("name,created_at desc"), }) if err != nil { log.Fatal(err) } - if res.ListServerlessCloudGatewaysResponse != nil { + if res.ListControlPlanesResponse != nil { // handle response } } diff --git a/controlplanegroups.go b/controlplanegroups.go index 2ddb752..ef95b1c 100644 --- a/controlplanegroups.go +++ b/controlplanegroups.go @@ -646,6 +646,302 @@ func (s *ControlPlaneGroups) GetControlPlanesIDGroupMemberships(ctx context.Cont } +// PutControlPlanesIDGroupMemberships - Upsert Control Plane Group Members +// Adds one or more control planes as a member of a control plane group. +func (s *ControlPlaneGroups) PutControlPlanesIDGroupMemberships(ctx context.Context, id string, groupMembership *components.GroupMembership, opts ...operations.Option) (*operations.PutControlPlanesIDGroupMembershipsResponse, error) { + hookCtx := hooks.HookContext{ + Context: ctx, + OperationID: "put-control-planes-id-group-memberships", + OAuth2Scopes: []string{}, + SecuritySource: s.sdkConfiguration.Security, + } + + request := operations.PutControlPlanesIDGroupMembershipsRequest{ + ID: id, + GroupMembership: groupMembership, + } + + o := operations.Options{} + supportedOptions := []string{ + operations.SupportedOptionRetries, + operations.SupportedOptionTimeout, + } + + for _, opt := range opts { + if err := opt(&o, supportedOptions...); err != nil { + return nil, fmt.Errorf("error applying option: %w", err) + } + } + + baseURL := utils.ReplaceParameters(s.sdkConfiguration.GetServerDetails()) + opURL, err := utils.GenerateURL(ctx, baseURL, "/v2/control-planes/{id}/group-memberships", request, nil) + if err != nil { + return nil, fmt.Errorf("error generating URL: %w", err) + } + + bodyReader, reqContentType, err := utils.SerializeRequestBody(ctx, request, false, true, "GroupMembership", "json", `request:"mediaType=application/json"`) + if err != nil { + return nil, err + } + + timeout := o.Timeout + if timeout == nil { + timeout = s.sdkConfiguration.Timeout + } + + if timeout != nil { + var cancel context.CancelFunc + ctx, cancel = context.WithTimeout(ctx, *timeout) + defer cancel() + } + + req, err := http.NewRequestWithContext(ctx, "PUT", opURL, bodyReader) + if err != nil { + return nil, fmt.Errorf("error creating request: %w", err) + } + req.Header.Set("Accept", "application/problem+json") + req.Header.Set("User-Agent", s.sdkConfiguration.UserAgent) + req.Header.Set("Content-Type", reqContentType) + + if err := utils.PopulateSecurity(ctx, req, s.sdkConfiguration.Security); err != nil { + return nil, err + } + + globalRetryConfig := s.sdkConfiguration.RetryConfig + retryConfig := o.Retries + if retryConfig == nil { + if globalRetryConfig != nil { + retryConfig = globalRetryConfig + } + } + + var httpRes *http.Response + if retryConfig != nil { + httpRes, err = utils.Retry(ctx, utils.Retries{ + Config: retryConfig, + StatusCodes: []string{ + "429", + "500", + "502", + "503", + "504", + }, + }, func() (*http.Response, error) { + if req.Body != nil { + copyBody, err := req.GetBody() + if err != nil { + return nil, err + } + req.Body = copyBody + } + + req, err = s.sdkConfiguration.Hooks.BeforeRequest(hooks.BeforeRequestContext{HookContext: hookCtx}, req) + if err != nil { + return nil, backoff.Permanent(err) + } + + httpRes, err := s.sdkConfiguration.Client.Do(req) + if err != nil || httpRes == nil { + if err != nil { + err = fmt.Errorf("error sending request: %w", err) + } else { + err = fmt.Errorf("error sending request: no response") + } + + _, err = s.sdkConfiguration.Hooks.AfterError(hooks.AfterErrorContext{HookContext: hookCtx}, nil, err) + } + return httpRes, err + }) + + if err != nil { + return nil, err + } else { + httpRes, err = s.sdkConfiguration.Hooks.AfterSuccess(hooks.AfterSuccessContext{HookContext: hookCtx}, httpRes) + if err != nil { + return nil, err + } + } + } else { + req, err = s.sdkConfiguration.Hooks.BeforeRequest(hooks.BeforeRequestContext{HookContext: hookCtx}, req) + if err != nil { + return nil, err + } + + httpRes, err = s.sdkConfiguration.Client.Do(req) + if err != nil || httpRes == nil { + if err != nil { + err = fmt.Errorf("error sending request: %w", err) + } else { + err = fmt.Errorf("error sending request: no response") + } + + _, err = s.sdkConfiguration.Hooks.AfterError(hooks.AfterErrorContext{HookContext: hookCtx}, nil, err) + return nil, err + } else if utils.MatchStatusCodes([]string{"400", "401", "403", "404", "4XX", "503", "5XX"}, httpRes.StatusCode) { + _httpRes, err := s.sdkConfiguration.Hooks.AfterError(hooks.AfterErrorContext{HookContext: hookCtx}, httpRes, nil) + if err != nil { + return nil, err + } else if _httpRes != nil { + httpRes = _httpRes + } + } else { + httpRes, err = s.sdkConfiguration.Hooks.AfterSuccess(hooks.AfterSuccessContext{HookContext: hookCtx}, httpRes) + if err != nil { + return nil, err + } + } + } + + res := &operations.PutControlPlanesIDGroupMembershipsResponse{ + StatusCode: httpRes.StatusCode, + ContentType: httpRes.Header.Get("Content-Type"), + RawResponse: httpRes, + } + + getRawBody := func() ([]byte, error) { + rawBody, err := io.ReadAll(httpRes.Body) + if err != nil { + return nil, fmt.Errorf("error reading response body: %w", err) + } + httpRes.Body.Close() + httpRes.Body = io.NopCloser(bytes.NewBuffer(rawBody)) + return rawBody, nil + } + + switch { + case httpRes.StatusCode == 204: + case httpRes.StatusCode == 400: + switch { + case utils.MatchContentType(httpRes.Header.Get("Content-Type"), `application/problem+json`): + rawBody, err := getRawBody() + if err != nil { + return nil, err + } + + var out sdkerrors.BadRequestError + if err := utils.UnmarshalJsonFromResponseBody(bytes.NewBuffer(rawBody), &out, ""); err != nil { + return nil, err + } + + return nil, &out + default: + rawBody, err := getRawBody() + if err != nil { + return nil, err + } + + return nil, sdkerrors.NewSDKError(fmt.Sprintf("unknown content-type received: %s", httpRes.Header.Get("Content-Type")), httpRes.StatusCode, string(rawBody), httpRes) + } + case httpRes.StatusCode == 401: + switch { + case utils.MatchContentType(httpRes.Header.Get("Content-Type"), `application/problem+json`): + rawBody, err := getRawBody() + if err != nil { + return nil, err + } + + var out sdkerrors.UnauthorizedError + if err := utils.UnmarshalJsonFromResponseBody(bytes.NewBuffer(rawBody), &out, ""); err != nil { + return nil, err + } + + return nil, &out + default: + rawBody, err := getRawBody() + if err != nil { + return nil, err + } + + return nil, sdkerrors.NewSDKError(fmt.Sprintf("unknown content-type received: %s", httpRes.Header.Get("Content-Type")), httpRes.StatusCode, string(rawBody), httpRes) + } + case httpRes.StatusCode == 403: + switch { + case utils.MatchContentType(httpRes.Header.Get("Content-Type"), `application/problem+json`): + rawBody, err := getRawBody() + if err != nil { + return nil, err + } + + var out sdkerrors.ForbiddenError + if err := utils.UnmarshalJsonFromResponseBody(bytes.NewBuffer(rawBody), &out, ""); err != nil { + return nil, err + } + + return nil, &out + default: + rawBody, err := getRawBody() + if err != nil { + return nil, err + } + + return nil, sdkerrors.NewSDKError(fmt.Sprintf("unknown content-type received: %s", httpRes.Header.Get("Content-Type")), httpRes.StatusCode, string(rawBody), httpRes) + } + case httpRes.StatusCode == 404: + switch { + case utils.MatchContentType(httpRes.Header.Get("Content-Type"), `application/problem+json`): + rawBody, err := getRawBody() + if err != nil { + return nil, err + } + + var out sdkerrors.NotFoundError + if err := utils.UnmarshalJsonFromResponseBody(bytes.NewBuffer(rawBody), &out, ""); err != nil { + return nil, err + } + + return nil, &out + default: + rawBody, err := getRawBody() + if err != nil { + return nil, err + } + + return nil, sdkerrors.NewSDKError(fmt.Sprintf("unknown content-type received: %s", httpRes.Header.Get("Content-Type")), httpRes.StatusCode, string(rawBody), httpRes) + } + case httpRes.StatusCode == 503: + switch { + case utils.MatchContentType(httpRes.Header.Get("Content-Type"), `application/problem+json`): + rawBody, err := getRawBody() + if err != nil { + return nil, err + } + + var out sdkerrors.ServiceUnavailable + if err := utils.UnmarshalJsonFromResponseBody(bytes.NewBuffer(rawBody), &out, ""); err != nil { + return nil, err + } + + return nil, &out + default: + rawBody, err := getRawBody() + if err != nil { + return nil, err + } + + return nil, sdkerrors.NewSDKError(fmt.Sprintf("unknown content-type received: %s", httpRes.Header.Get("Content-Type")), httpRes.StatusCode, string(rawBody), httpRes) + } + case httpRes.StatusCode >= 400 && httpRes.StatusCode < 500: + fallthrough + case httpRes.StatusCode >= 500 && httpRes.StatusCode < 600: + rawBody, err := getRawBody() + if err != nil { + return nil, err + } + + return nil, sdkerrors.NewSDKError("API error occurred", httpRes.StatusCode, string(rawBody), httpRes) + default: + rawBody, err := getRawBody() + if err != nil { + return nil, err + } + + return nil, sdkerrors.NewSDKError("unknown status code returned", httpRes.StatusCode, string(rawBody), httpRes) + } + + return res, nil + +} + // PostControlPlanesIDGroupMembershipsAdd - Add Control Plane Group Members // Adds one or more control planes as a member of a control plane group. func (s *ControlPlaneGroups) PostControlPlanesIDGroupMembershipsAdd(ctx context.Context, id string, groupMembership *components.GroupMembership, opts ...operations.Option) (*operations.PostControlPlanesIDGroupMembershipsAddResponse, error) { diff --git a/docs/models/components/aclwithoutparents.md b/docs/models/components/aclwithoutparents.md index 9de9525..b0e2410 100644 --- a/docs/models/components/aclwithoutparents.md +++ b/docs/models/components/aclwithoutparents.md @@ -6,4 +6,5 @@ | Field | Type | Required | Description | | ------------------ | ------------------ | ------------------ | ------------------ | | `Group` | **string* | :heavy_minus_sign: | N/A | +| `ID` | **string* | :heavy_minus_sign: | N/A | | `Tags` | []*string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/components/basicauthwithoutparents.md b/docs/models/components/basicauthwithoutparents.md index 4d71075..c4c7f2d 100644 --- a/docs/models/components/basicauthwithoutparents.md +++ b/docs/models/components/basicauthwithoutparents.md @@ -5,6 +5,7 @@ | Field | Type | Required | Description | | ------------------ | ------------------ | ------------------ | ------------------ | +| `ID` | **string* | :heavy_minus_sign: | N/A | | `Password` | **string* | :heavy_minus_sign: | N/A | | `Tags` | []*string* | :heavy_minus_sign: | N/A | | `Username` | **string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/components/cacertificate.md b/docs/models/components/cacertificate.md index 7230147..46bc89a 100644 --- a/docs/models/components/cacertificate.md +++ b/docs/models/components/cacertificate.md @@ -5,7 +5,7 @@ | Field | Type | Required | Description | | --------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- | -| `Cert` | **string* | :heavy_minus_sign: | PEM-encoded public certificate of the CA. | +| `Cert` | *string* | :heavy_check_mark: | PEM-encoded public certificate of the CA. | | `CertDigest` | **string* | :heavy_minus_sign: | SHA256 hex digest of the public certificate. This field is read-only and it cannot be set by the caller, the value is automatically computed. | | `CreatedAt` | **int64* | :heavy_minus_sign: | Unix epoch when the resource was created. | | `ID` | **string* | :heavy_minus_sign: | N/A | diff --git a/docs/models/components/certificate.md b/docs/models/components/certificate.md index 2c1cad1..742e5ee 100644 --- a/docs/models/components/certificate.md +++ b/docs/models/components/certificate.md @@ -5,11 +5,11 @@ | Field | Type | Required | Description | | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `Cert` | **string* | :heavy_minus_sign: | PEM-encoded public certificate chain of the SSL key pair. This field is _referenceable_, which means it can be securely stored as a [secret](/gateway/latest/plan-and-deploy/security/secrets-management/getting-started) in a vault. References must follow a [specific format](/gateway/latest/plan-and-deploy/security/secrets-management/reference-format). | +| `Cert` | *string* | :heavy_check_mark: | PEM-encoded public certificate chain of the SSL key pair. This field is _referenceable_, which means it can be securely stored as a [secret](/gateway/latest/plan-and-deploy/security/secrets-management/getting-started) in a vault. References must follow a [specific format](/gateway/latest/plan-and-deploy/security/secrets-management/reference-format). | | `CertAlt` | **string* | :heavy_minus_sign: | PEM-encoded public certificate chain of the alternate SSL key pair. This should only be set if you have both RSA and ECDSA types of certificate available and would like Kong to prefer serving using ECDSA certs when client advertises support for it. This field is _referenceable_, which means it can be securely stored as a [secret](/gateway/latest/plan-and-deploy/security/secrets-management/getting-started) in a vault. References must follow a [specific format](/gateway/latest/plan-and-deploy/security/secrets-management/reference-format). | | `CreatedAt` | **int64* | :heavy_minus_sign: | Unix epoch when the resource was created. | | `ID` | **string* | :heavy_minus_sign: | N/A | -| `Key` | **string* | :heavy_minus_sign: | PEM-encoded private key of the SSL key pair. This field is _referenceable_, which means it can be securely stored as a [secret](/gateway/latest/plan-and-deploy/security/secrets-management/getting-started) in a vault. References must follow a [specific format](/gateway/latest/plan-and-deploy/security/secrets-management/reference-format). | +| `Key` | *string* | :heavy_check_mark: | PEM-encoded private key of the SSL key pair. This field is _referenceable_, which means it can be securely stored as a [secret](/gateway/latest/plan-and-deploy/security/secrets-management/getting-started) in a vault. References must follow a [specific format](/gateway/latest/plan-and-deploy/security/secrets-management/reference-format). | | `KeyAlt` | **string* | :heavy_minus_sign: | PEM-encoded private key of the alternate SSL key pair. This should only be set if you have both RSA and ECDSA types of certificate available and would like Kong to prefer serving using ECDSA certs when client advertises support for it. This field is _referenceable_, which means it can be securely stored as a [secret](/gateway/latest/plan-and-deploy/security/secrets-management/getting-started) in a vault. References must follow a [specific format](/gateway/latest/plan-and-deploy/security/secrets-management/reference-format). | | `Tags` | []*string* | :heavy_minus_sign: | An optional set of strings associated with the Certificate for grouping and filtering. | | `UpdatedAt` | **int64* | :heavy_minus_sign: | Unix epoch when the resource was last updated. | \ No newline at end of file diff --git a/docs/models/components/consumergroup.md b/docs/models/components/consumergroup.md index c559b64..1c85dfe 100644 --- a/docs/models/components/consumergroup.md +++ b/docs/models/components/consumergroup.md @@ -7,6 +7,6 @@ | ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | | `CreatedAt` | **int64* | :heavy_minus_sign: | Unix epoch when the resource was created. | | `ID` | **string* | :heavy_minus_sign: | N/A | -| `Name` | **string* | :heavy_minus_sign: | N/A | +| `Name` | *string* | :heavy_check_mark: | N/A | | `Tags` | []*string* | :heavy_minus_sign: | N/A | | `UpdatedAt` | **int64* | :heavy_minus_sign: | Unix epoch when the resource was last updated. | \ No newline at end of file diff --git a/docs/models/components/controlplane.md b/docs/models/components/controlplane.md index 36d7b32..681a9d6 100644 --- a/docs/models/components/controlplane.md +++ b/docs/models/components/controlplane.md @@ -7,10 +7,10 @@ The control plane object contains information about a Kong control plane. | Field | Type | Required | Description | Example | | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `ID` | *string* | :heavy_check_mark: | The control plane ID. | 7f9fd312-a987-4628-b4c5-bb4f4fddd5f7 | -| `Name` | *string* | :heavy_check_mark: | The name of the control plane. | Test Control Plane | +| `ID` | **string* | :heavy_minus_sign: | The control plane ID. | 7f9fd312-a987-4628-b4c5-bb4f4fddd5f7 | +| `Name` | **string* | :heavy_minus_sign: | The name of the control plane. | Test Control Plane | | `Description` | **string* | :heavy_minus_sign: | The description of the control plane in Konnect. | A test control plane for exploration. | | `Labels` | map[string]*string* | :heavy_minus_sign: | Labels store metadata of an entity that can be used for filtering an entity list or for searching across entity types.

Keys must be of length 1-63 characters, and cannot start with "kong", "konnect", "mesh", "kic", or "_".
| {
"env": "test"
} | -| `Config` | [components.Config](../../models/components/config.md) | :heavy_check_mark: | CP configuration object for related access endpoints. | | -| `CreatedAt` | [time.Time](https://pkg.go.dev/time#Time) | :heavy_check_mark: | An ISO-8604 timestamp representation of control plane creation date. | 2022-11-04T20:10:06.927Z | -| `UpdatedAt` | [time.Time](https://pkg.go.dev/time#Time) | :heavy_check_mark: | An ISO-8604 timestamp representation of control plane update date. | 2022-11-04T20:10:06.927Z | \ No newline at end of file +| `Config` | [*components.Config](../../models/components/config.md) | :heavy_minus_sign: | CP configuration object for related access endpoints. | | +| `CreatedAt` | [*time.Time](https://pkg.go.dev/time#Time) | :heavy_minus_sign: | An ISO-8604 timestamp representation of control plane creation date. | 2022-11-04T20:10:06.927Z | +| `UpdatedAt` | [*time.Time](https://pkg.go.dev/time#Time) | :heavy_minus_sign: | An ISO-8604 timestamp representation of control plane update date. | 2022-11-04T20:10:06.927Z | \ No newline at end of file diff --git a/docs/models/components/controlplanesummary.md b/docs/models/components/controlplanesummary.md index 6ff879f..56bcdbb 100644 --- a/docs/models/components/controlplanesummary.md +++ b/docs/models/components/controlplanesummary.md @@ -7,10 +7,10 @@ The control plane object contains information about a Kong control plane. | Field | Type | Required | Description | Example | | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `ID` | *string* | :heavy_check_mark: | The control plane ID. | 7f9fd312-a987-4628-b4c5-bb4f4fddd5f7 | -| `Name` | *string* | :heavy_check_mark: | The name of the control plane. | Test Control Plane | +| `ID` | **string* | :heavy_minus_sign: | The control plane ID. | 7f9fd312-a987-4628-b4c5-bb4f4fddd5f7 | +| `Name` | **string* | :heavy_minus_sign: | The name of the control plane. | Test Control Plane | | `Description` | **string* | :heavy_minus_sign: | The description of the control plane in Konnect. | A test control plane for exploration. | | `Labels` | map[string]*string* | :heavy_minus_sign: | Labels store metadata of an entity that can be used for filtering an entity list or for searching across entity types.

Keys must be of length 1-63 characters, and cannot start with "kong", "konnect", "mesh", "kic", or "_".
| {
"env": "test"
} | -| `Config` | [components.ControlPlaneSummaryConfig](../../models/components/controlplanesummaryconfig.md) | :heavy_check_mark: | CP configuration object for related access endpoints. | | -| `CreatedAt` | [time.Time](https://pkg.go.dev/time#Time) | :heavy_check_mark: | N/A | | -| `UpdatedAt` | [time.Time](https://pkg.go.dev/time#Time) | :heavy_check_mark: | N/A | | \ No newline at end of file +| `Config` | [*components.ControlPlaneSummaryConfig](../../models/components/controlplanesummaryconfig.md) | :heavy_minus_sign: | CP configuration object for related access endpoints. | | +| `CreatedAt` | [*time.Time](https://pkg.go.dev/time#Time) | :heavy_minus_sign: | N/A | | +| `UpdatedAt` | [*time.Time](https://pkg.go.dev/time#Time) | :heavy_minus_sign: | N/A | | \ No newline at end of file diff --git a/docs/models/components/cpregion.md b/docs/models/components/cpregion.md deleted file mode 100644 index f4f16b5..0000000 --- a/docs/models/components/cpregion.md +++ /dev/null @@ -1,12 +0,0 @@ -# CpRegion - -The control plane region. - - -## Values - -| Name | Value | -| ------------ | ------------ | -| `CpRegionUs` | us | -| `CpRegionEu` | eu | -| `CpRegionAu` | au | \ No newline at end of file diff --git a/docs/models/components/createserverlesscloudgatewayrequest.md b/docs/models/components/createserverlesscloudgatewayrequest.md deleted file mode 100644 index ba06ce9..0000000 --- a/docs/models/components/createserverlesscloudgatewayrequest.md +++ /dev/null @@ -1,13 +0,0 @@ -# CreateServerlessCloudGatewayRequest - -Schema to create a serverless cloud gateway. - - -## Fields - -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `ControlPlane` | [components.ServerlessControlPlane](../../models/components/serverlesscontrolplane.md) | :heavy_check_mark: | N/A | | -| `ClusterCert` | *string* | :heavy_check_mark: | The cluster certificate (public key). | -----BEGIN CERTIFICATE----- MIICRDCCAa2gAwIBAgIBADANBgkqhkiG9w0BAQ0FADA/MQswCQYDVQQGEwJ1czEL MAkGA1UECAwCVFgxDTALBgNVBAoMBFRlc3QxFDASBgNVBAMMC2V4YW1wbGUuY29t MB4XDTI0MDQyNjA5NTA1OVoXDTI1MDQyNjA5NTA1OVowPzELMAkGA1UEBhMCdXMx CzAJBgNVBAgMAlRYMQ0wCwYDVQQKDARUZXN0MRQwEgYDVQQDDAtleGFtcGxlLmNv bTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA8FaJZmPsthBT1XkTyqUJiuQV 4p4KaLpNMioNQtIdeGKFXelmZlVfW0bfLGBgFmkwo19KIzFtOlITUjb0Qqlub2Dn TIPoDs7rXA8aw6umJu73Z6647U3+alxNCpwTuYOY2CJQ+HWEIuOuwAdtQkndEp9r 7ZWA2xLatQKBYEvEmykCAwEAAaNQME4wHQYDVR0OBBYEFGUznNeZK74vlA4bqKHb 706tyMwcMB8GA1UdIwQYMBaAFGUznNeZK74vlA4bqKHb706tyMwcMAwGA1UdEwQF MAMBAf8wDQYJKoZIhvcNAQENBQADgYEARmnu/2vUcmJYLlg86MN0prXGC3CGXsem fDtPF4SBPxfchdG7HJKywTloIiCBKGEQALkCHiJcQJNcSHmzH3/Qk+SrOJNH01gt HsKA4SNFJZR5fCRpT6USCukyE2Wlr+PWPscrFCWbLXhK4Ql/t0oog1255B10HqKk 1qDkNrzCd/o= -----END CERTIFICATE-----
| -| `ClusterCertKey` | *string* | :heavy_check_mark: | The cluster certificate key (private key). | -----BEGIN PRIVATE KEY----- MIICeAIBADANBgkqhkiG9w0BAQEFAASCAmIwggJeAgEAAoGBAPBWiWZj7LYQU9V5 E8qlCYrkFeKeCmi6TTIqDULSHXhihV3pZmZVX1tG3yxgYBZpMKNfSiMxbTpSE1I2 9EKpbm9g50yD6A7O61wPGsOrpibu92euuO1N/mpcTQqcE7mDmNgiUPh1hCLjrsAH bUJJ3RKfa+2VgNsS2rUCgWBLxJspAgMBAAECgYEAvA7qqozL/1ZdUu/P1cQ36E86 9L03ZeVJXFRdVgj2eGqW8vob3z00RUb6gE3VQhQDNALvDwSw9G6eoblQfgz31Hju sb+j6bGOm2BqzYrx6rpcgme7k9ScV0tEbtiBNX0E/ToHvNywHtdOBvDocN2wh42Z 6bS9um51H+SXR036mgUCQQD4T7WrJHL97Hj8TtHnTw895xWKaGn94H7ZQa2lo1nk 7CQ4Oi8rFX5tDdyV7UU6fekBWuhpmIhSGJhyHD7UThBjAkEA98ef9ey2Qx+j+R8S tgpgJAF3LVNJJicEHCS/Vltgc84X/vidVAMa2+TYPxPrrUjxBr0STCeB5wZhvvsB D8cOAwJBAJ5JqaQPUx1dDe7Ai/vooO20Dj4xu0c0QYha3sfU7qwIgDo7lO/g/ruj 93a3TscvlkXf3oHZ0ySKOzual86ciMMCQQDGOLgaWHVy+4QFTzt70I8bHuUFqKRT VlEuZqN/ZXijDFQcES5jwFwjYE8zHy+ioEDaIDXcIJsGhA98Zndx9M+bAkA4IFdx 4YIDhuk1MJAYPqVQs5szEF/0BGymLNVYlIox48bZg+TH3uXwTVRVySxvpRa8dd3O 0gHs3EIV6GFUl7ev -----END PRIVATE KEY-----
| -| `Labels` | map[string]*string* | :heavy_minus_sign: | Labels to facilitate tagged search on serverless cloud gateways. Keys must be of length 1-63 characters, and cannot start with 'kong', 'konnect', 'mesh', 'kic', or '_'. | {
"env": "test"
} | \ No newline at end of file diff --git a/docs/models/components/hmacauthwithoutparents.md b/docs/models/components/hmacauthwithoutparents.md index 9a931da..112383f 100644 --- a/docs/models/components/hmacauthwithoutparents.md +++ b/docs/models/components/hmacauthwithoutparents.md @@ -5,6 +5,7 @@ | Field | Type | Required | Description | | ------------------ | ------------------ | ------------------ | ------------------ | +| `ID` | **string* | :heavy_minus_sign: | N/A | | `Secret` | **string* | :heavy_minus_sign: | N/A | | `Tags` | []*string* | :heavy_minus_sign: | N/A | | `Username` | **string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/components/jwtwithoutparents.md b/docs/models/components/jwtwithoutparents.md index 7996abd..38b499c 100644 --- a/docs/models/components/jwtwithoutparents.md +++ b/docs/models/components/jwtwithoutparents.md @@ -6,6 +6,7 @@ | Field | Type | Required | Description | | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | | `Algorithm` | [*components.JWTWithoutParentsAlgorithm](../../models/components/jwtwithoutparentsalgorithm.md) | :heavy_minus_sign: | N/A | +| `ID` | **string* | :heavy_minus_sign: | N/A | | `Key` | **string* | :heavy_minus_sign: | N/A | | `RsaPublicKey` | **string* | :heavy_minus_sign: | N/A | | `Secret` | **string* | :heavy_minus_sign: | N/A | diff --git a/docs/models/components/key.md b/docs/models/components/key.md index cb517b2..6798ce9 100644 --- a/docs/models/components/key.md +++ b/docs/models/components/key.md @@ -8,7 +8,7 @@ | `CreatedAt` | **int64* | :heavy_minus_sign: | Unix epoch when the resource was created. | | `ID` | **string* | :heavy_minus_sign: | N/A | | `Jwk` | **string* | :heavy_minus_sign: | A JSON Web Key represented as a string. | -| `Kid` | **string* | :heavy_minus_sign: | A unique identifier for a key. | +| `Kid` | *string* | :heavy_check_mark: | A unique identifier for a key. | | `Name` | **string* | :heavy_minus_sign: | The name to associate with the given keys. | | `Pem` | [*components.Pem](../../models/components/pem.md) | :heavy_minus_sign: | A keypair in PEM format. | | `Set` | [*components.Set](../../models/components/set.md) | :heavy_minus_sign: | The id (an UUID) of the key-set with which to associate the key. | diff --git a/docs/models/components/keyauthwithoutparents.md b/docs/models/components/keyauthwithoutparents.md index b324b37..de8a132 100644 --- a/docs/models/components/keyauthwithoutparents.md +++ b/docs/models/components/keyauthwithoutparents.md @@ -5,5 +5,6 @@ | Field | Type | Required | Description | | ------------------ | ------------------ | ------------------ | ------------------ | +| `ID` | **string* | :heavy_minus_sign: | N/A | | `Key` | **string* | :heavy_minus_sign: | N/A | | `Tags` | []*string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/components/listserverlesscloudgatewaysresponse.md b/docs/models/components/listserverlesscloudgatewaysresponse.md deleted file mode 100644 index cd11c81..0000000 --- a/docs/models/components/listserverlesscloudgatewaysresponse.md +++ /dev/null @@ -1,9 +0,0 @@ -# ListServerlessCloudGatewaysResponse - - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | -| `Meta` | [*components.PaginatedMeta](../../models/components/paginatedmeta.md) | :heavy_minus_sign: | returns the pagination information | -| `Data` | [][components.ServerlessCloudGateway](../../models/components/serverlesscloudgateway.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/components/plugin.md b/docs/models/components/plugin.md index 317af29..750f222 100644 --- a/docs/models/components/plugin.md +++ b/docs/models/components/plugin.md @@ -5,12 +5,12 @@ | Field | Type | Required | Description | | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `Config` | map[string]*any* | :heavy_minus_sign: | The configuration properties for the Plugin which can be found on the plugins documentation page in the [Kong Hub](https://docs.konghq.com/hub/). | +| `Config` | map[string]*any* | :heavy_check_mark: | The configuration properties for the Plugin which can be found on the plugins documentation page in the [Kong Hub](https://docs.konghq.com/hub/). | | `CreatedAt` | **int64* | :heavy_minus_sign: | Unix epoch when the resource was created. | | `Enabled` | **bool* | :heavy_minus_sign: | Whether the plugin is applied. | | `ID` | **string* | :heavy_minus_sign: | N/A | | `InstanceName` | **string* | :heavy_minus_sign: | N/A | -| `Name` | **string* | :heavy_minus_sign: | The name of the Plugin that's going to be added. Currently, the Plugin must be installed in every Kong instance separately. | +| `Name` | *string* | :heavy_check_mark: | The name of the Plugin that's going to be added. Currently, the Plugin must be installed in every Kong instance separately. | | `Ordering` | [*components.Ordering](../../models/components/ordering.md) | :heavy_minus_sign: | N/A | | `Protocols` | [][components.Protocols](../../models/components/protocols.md) | :heavy_minus_sign: | A list of the request protocols that will trigger this plugin. The default value, as well as the possible values allowed on this field, may change depending on the plugin type. For example, plugins that only work in stream mode will only support `"tcp"` and `"tls"`. | | `Tags` | []*string* | :heavy_minus_sign: | An optional set of strings associated with the Plugin for grouping and filtering. | diff --git a/docs/models/components/pluginwithoutparents.md b/docs/models/components/pluginwithoutparents.md index df9713e..0b04d40 100644 --- a/docs/models/components/pluginwithoutparents.md +++ b/docs/models/components/pluginwithoutparents.md @@ -5,10 +5,11 @@ | Field | Type | Required | Description | | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `Config` | map[string]*any* | :heavy_minus_sign: | The configuration properties for the Plugin which can be found on the plugins documentation page in the [Kong Hub](https://docs.konghq.com/hub/). | +| `Config` | map[string]*any* | :heavy_check_mark: | The configuration properties for the Plugin which can be found on the plugins documentation page in the [Kong Hub](https://docs.konghq.com/hub/). | | `Enabled` | **bool* | :heavy_minus_sign: | Whether the plugin is applied. | +| `ID` | **string* | :heavy_minus_sign: | N/A | | `InstanceName` | **string* | :heavy_minus_sign: | N/A | -| `Name` | **string* | :heavy_minus_sign: | The name of the Plugin that's going to be added. Currently, the Plugin must be installed in every Kong instance separately. | +| `Name` | *string* | :heavy_check_mark: | The name of the Plugin that's going to be added. Currently, the Plugin must be installed in every Kong instance separately. | | `Ordering` | [*components.PluginWithoutParentsOrdering](../../models/components/pluginwithoutparentsordering.md) | :heavy_minus_sign: | N/A | | `Protocols` | [][components.PluginWithoutParentsProtocols](../../models/components/pluginwithoutparentsprotocols.md) | :heavy_minus_sign: | A list of the request protocols that will trigger this plugin. The default value, as well as the possible values allowed on this field, may change depending on the plugin type. For example, plugins that only work in stream mode will only support `"tcp"` and `"tls"`. | | `Tags` | []*string* | :heavy_minus_sign: | An optional set of strings associated with the Plugin for grouping and filtering. | \ No newline at end of file diff --git a/docs/models/components/route.md b/docs/models/components/route.md index 3127fc5..805bdf6 100644 --- a/docs/models/components/route.md +++ b/docs/models/components/route.md @@ -1,7 +1,5 @@ # Route -The request schema for the create route's request. - ## Fields diff --git a/docs/models/components/routewithoutparents.md b/docs/models/components/routewithoutparents.md index 743bf48..31fa067 100644 --- a/docs/models/components/routewithoutparents.md +++ b/docs/models/components/routewithoutparents.md @@ -1,7 +1,5 @@ # RouteWithoutParents -The request schema for the create route's request. - ## Fields @@ -11,6 +9,7 @@ The request schema for the create route's request. | `Headers` | map[string]*string* | :heavy_minus_sign: | One or more lists of values indexed by header name that will cause this Route to match if present in the request. The `Host` header cannot be used with this attribute: hosts should be specified using the `hosts` attribute. When `headers` contains only one value and that value starts with the special prefix `~*`, the value is interpreted as a regular expression. | | `Hosts` | []*string* | :heavy_minus_sign: | A list of domain names that match this Route. Note that the hosts value is case sensitive. | | `HTTPSRedirectStatusCode` | [*components.RouteWithoutParentsHTTPSRedirectStatusCode](../../models/components/routewithoutparentshttpsredirectstatuscode.md) | :heavy_minus_sign: | The status code Kong responds with when all properties of a Route match except the protocol i.e. if the protocol of the request is `HTTP` instead of `HTTPS`. `Location` header is injected by Kong if the field is set to 301, 302, 307 or 308. Note: This config applies only if the Route is configured to only accept the `https` protocol. | +| `ID` | **string* | :heavy_minus_sign: | N/A | | `Methods` | []*string* | :heavy_minus_sign: | A list of HTTP methods that match this Route. | | `Name` | **string* | :heavy_minus_sign: | The name of the Route. Route names must be unique, and they are case sensitive. For example, there can be two different Routes named "test" and "Test". | | `PathHandling` | [*components.RouteWithoutParentsPathHandling](../../models/components/routewithoutparentspathhandling.md) | :heavy_minus_sign: | Controls how the Service path, Route path and requested path are combined when sending a request to the upstream. See above for a detailed description of each behavior. | diff --git a/docs/models/components/serverlesscloudgateway.md b/docs/models/components/serverlesscloudgateway.md deleted file mode 100644 index 17dee12..0000000 --- a/docs/models/components/serverlesscloudgateway.md +++ /dev/null @@ -1,14 +0,0 @@ -# ServerlessCloudGateway - -A serverless cloud gateway - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `ControlPlane` | [components.ServerlessControlPlane](../../models/components/serverlesscontrolplane.md) | :heavy_check_mark: | N/A | | -| `GatewayEndpoint` | *string* | :heavy_check_mark: | Endpoint for the serverless cloud gateway. | us-kong-4594857kpl.kongcloud.dev | -| `CreatedAt` | [time.Time](https://pkg.go.dev/time#Time) | :heavy_check_mark: | N/A | 2023-01-11T02:30:42.227Z | -| `UpdatedAt` | [time.Time](https://pkg.go.dev/time#Time) | :heavy_check_mark: | N/A | 2023-01-11T02:30:42.227Z | -| `Labels` | map[string]*string* | :heavy_minus_sign: | Labels to facilitate tagged search on serverless cloud gateways. Keys must be of length 1-63 characters, and cannot start with 'kong', 'konnect', 'mesh', 'kic', or '_'. | {
"env": "test"
} | \ No newline at end of file diff --git a/docs/models/components/serverlesscontrolplane.md b/docs/models/components/serverlesscontrolplane.md deleted file mode 100644 index 43f0c07..0000000 --- a/docs/models/components/serverlesscontrolplane.md +++ /dev/null @@ -1,10 +0,0 @@ -# ServerlessControlPlane - - -## Fields - -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | -| `ID` | *string* | :heavy_check_mark: | ID of the serverless cloud gateway CP. | d32d905a-ed33-46a3-a093-d8f536af9a8a | -| `Prefix` | *string* | :heavy_check_mark: | The prefix of the serverless cloud gateway CP. | 518da50bf7 | -| `Region` | [components.CpRegion](../../models/components/cpregion.md) | :heavy_check_mark: | The control plane region. | us | \ No newline at end of file diff --git a/docs/models/components/service.md b/docs/models/components/service.md index 3abb427..4704963 100644 --- a/docs/models/components/service.md +++ b/docs/models/components/service.md @@ -1,7 +1,5 @@ # Service -The request schema for the create control plane's request. - ## Fields diff --git a/docs/models/components/sni.md b/docs/models/components/sni.md index 9994c82..2411d23 100644 --- a/docs/models/components/sni.md +++ b/docs/models/components/sni.md @@ -7,7 +7,7 @@ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `CreatedAt` | **int64* | :heavy_minus_sign: | Unix epoch when the resource was created. | | `ID` | **string* | :heavy_minus_sign: | N/A | -| `Name` | **string* | :heavy_minus_sign: | The SNI name to associate with the given certificate. | +| `Name` | *string* | :heavy_check_mark: | The SNI name to associate with the given certificate. | | `Tags` | []*string* | :heavy_minus_sign: | An optional set of strings associated with the SNIs for grouping and filtering. | | `UpdatedAt` | **int64* | :heavy_minus_sign: | Unix epoch when the resource was last updated. | -| `Certificate` | [*components.SNICertificate](../../models/components/snicertificate.md) | :heavy_minus_sign: | The id (a UUID) of the certificate with which to associate the SNI hostname. The Certificate must have a valid private key associated with it to be used by the SNI object. | \ No newline at end of file +| `Certificate` | [components.SNICertificate](../../models/components/snicertificate.md) | :heavy_check_mark: | The id (a UUID) of the certificate with which to associate the SNI hostname. The Certificate must have a valid private key associated with it to be used by the SNI object. | \ No newline at end of file diff --git a/docs/models/components/sniwithoutparents.md b/docs/models/components/sniwithoutparents.md index aeebf06..97135dd 100644 --- a/docs/models/components/sniwithoutparents.md +++ b/docs/models/components/sniwithoutparents.md @@ -5,5 +5,6 @@ | Field | Type | Required | Description | | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | -| `Name` | **string* | :heavy_minus_sign: | The SNI name to associate with the given certificate. | +| `ID` | **string* | :heavy_minus_sign: | N/A | +| `Name` | *string* | :heavy_check_mark: | The SNI name to associate with the given certificate. | | `Tags` | []*string* | :heavy_minus_sign: | An optional set of strings associated with the SNIs for grouping and filtering. | \ No newline at end of file diff --git a/docs/models/components/targetwithoutparents.md b/docs/models/components/targetwithoutparents.md index 392b63e..bc26384 100644 --- a/docs/models/components/targetwithoutparents.md +++ b/docs/models/components/targetwithoutparents.md @@ -5,6 +5,7 @@ | Field | Type | Required | Description | | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `ID` | **string* | :heavy_minus_sign: | N/A | | `Tags` | []*string* | :heavy_minus_sign: | An optional set of strings associated with the Target for grouping and filtering. | | `Target` | **string* | :heavy_minus_sign: | The target address (ip or hostname) and port. If the hostname resolves to an SRV record, the `port` value will be overridden by the value from the DNS record. | | `Weight` | **int64* | :heavy_minus_sign: | The weight this target gets within the upstream loadbalancer (`0`-`65535`). If the hostname resolves to an SRV record, the `weight` value will be overridden by the value from the DNS record. | \ No newline at end of file diff --git a/docs/models/components/upstream.md b/docs/models/components/upstream.md index 092f5cc..034ba7b 100644 --- a/docs/models/components/upstream.md +++ b/docs/models/components/upstream.md @@ -21,7 +21,7 @@ | `Healthchecks` | [*components.Healthchecks](../../models/components/healthchecks.md) | :heavy_minus_sign: | N/A | | `HostHeader` | **string* | :heavy_minus_sign: | The hostname to be used as `Host` header when proxying requests through Kong. | | `ID` | **string* | :heavy_minus_sign: | N/A | -| `Name` | **string* | :heavy_minus_sign: | This is a hostname, which must be equal to the `host` of a Service. | +| `Name` | *string* | :heavy_check_mark: | This is a hostname, which must be equal to the `host` of a Service. | | `Slots` | **int64* | :heavy_minus_sign: | The number of slots in the load balancer algorithm. If `algorithm` is set to `round-robin`, this setting determines the maximum number of slots. If `algorithm` is set to `consistent-hashing`, this setting determines the actual number of slots in the algorithm. Accepts an integer in the range `10`-`65536`. | | `Tags` | []*string* | :heavy_minus_sign: | An optional set of strings associated with the Upstream for grouping and filtering. | | `UpdatedAt` | **int64* | :heavy_minus_sign: | Unix epoch when the resource was last updated. | diff --git a/docs/models/components/vault.md b/docs/models/components/vault.md index 55b1c3a..0fc8a1c 100644 --- a/docs/models/components/vault.md +++ b/docs/models/components/vault.md @@ -9,7 +9,7 @@ | `CreatedAt` | **int64* | :heavy_minus_sign: | Unix epoch when the resource was created. | | `Description` | **string* | :heavy_minus_sign: | The description of the Vault entity. | | `ID` | **string* | :heavy_minus_sign: | N/A | -| `Name` | **string* | :heavy_minus_sign: | The name of the Vault that's going to be added. Currently, the Vault implementation must be installed in every Kong instance. | -| `Prefix` | **string* | :heavy_minus_sign: | The unique prefix (or identifier) for this Vault configuration. The prefix is used to load the right Vault configuration and implementation when referencing secrets with the other entities. | +| `Name` | *string* | :heavy_check_mark: | The name of the Vault that's going to be added. Currently, the Vault implementation must be installed in every Kong instance. | +| `Prefix` | *string* | :heavy_check_mark: | The unique prefix (or identifier) for this Vault configuration. The prefix is used to load the right Vault configuration and implementation when referencing secrets with the other entities. | | `Tags` | []*string* | :heavy_minus_sign: | An optional set of strings associated with the Vault for grouping and filtering. | | `UpdatedAt` | **int64* | :heavy_minus_sign: | Unix epoch when the resource was last updated. | \ No newline at end of file diff --git a/docs/models/operations/addconsumertogrouprequest.md b/docs/models/operations/addconsumertogrouprequest.md index cc1453d..bce2966 100644 --- a/docs/models/operations/addconsumertogrouprequest.md +++ b/docs/models/operations/addconsumertogrouprequest.md @@ -6,5 +6,5 @@ | Field | Type | Required | Description | Example | | ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | | `ConsumerGroupID` | *string* | :heavy_check_mark: | N/A | | -| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | +| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager. | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | | `RequestBody` | [*operations.AddConsumerToGroupRequestBody](../../models/operations/addconsumertogrouprequestbody.md) | :heavy_minus_sign: | N/A | | \ No newline at end of file diff --git a/docs/models/operations/createaclwithconsumerrequest.md b/docs/models/operations/createaclwithconsumerrequest.md index fbe8cd6..4cd5e4f 100644 --- a/docs/models/operations/createaclwithconsumerrequest.md +++ b/docs/models/operations/createaclwithconsumerrequest.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | -| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | -| `ConsumerIDForNestedEntities` | *string* | :heavy_check_mark: | Consumer ID for nested entities | f28acbfa-c866-4587-b688-0208ac24df21 | -| `ACLWithoutParents` | [components.ACLWithoutParents](../../models/components/aclwithoutparents.md) | :heavy_check_mark: | Description of new ACL for creation | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager. | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | +| `ConsumerIDForNestedEntities` | *string* | :heavy_check_mark: | Consumer ID for nested entities | f28acbfa-c866-4587-b688-0208ac24df21 | +| `ACLWithoutParents` | [components.ACLWithoutParents](../../models/components/aclwithoutparents.md) | :heavy_check_mark: | Description of new ACL for creation | | \ No newline at end of file diff --git a/docs/models/operations/createbasicauthwithconsumerrequest.md b/docs/models/operations/createbasicauthwithconsumerrequest.md index 7d90da2..aef9ca0 100644 --- a/docs/models/operations/createbasicauthwithconsumerrequest.md +++ b/docs/models/operations/createbasicauthwithconsumerrequest.md @@ -5,6 +5,6 @@ | Field | Type | Required | Description | Example | | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | -| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | +| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager. | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | | `ConsumerIDForNestedEntities` | *string* | :heavy_check_mark: | Consumer ID for nested entities | f28acbfa-c866-4587-b688-0208ac24df21 | | `BasicAuthWithoutParents` | [components.BasicAuthWithoutParents](../../models/components/basicauthwithoutparents.md) | :heavy_check_mark: | Description of new Basic-auth credential for creation | | \ No newline at end of file diff --git a/docs/models/operations/createcacertificaterequest.md b/docs/models/operations/createcacertificaterequest.md index 50979a0..df747a4 100644 --- a/docs/models/operations/createcacertificaterequest.md +++ b/docs/models/operations/createcacertificaterequest.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | -| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | -| `CACertificate` | [components.CACertificateInput](../../models/components/cacertificateinput.md) | :heavy_check_mark: | Description of the new CA Certificate for creation | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager. | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | +| `CACertificate` | [components.CACertificateInput](../../models/components/cacertificateinput.md) | :heavy_check_mark: | Description of the new CA Certificate for creation | | \ No newline at end of file diff --git a/docs/models/operations/createcertificaterequest.md b/docs/models/operations/createcertificaterequest.md index a40f84a..33bb238 100644 --- a/docs/models/operations/createcertificaterequest.md +++ b/docs/models/operations/createcertificaterequest.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | -| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | -| `Certificate` | [components.CertificateInput](../../models/components/certificateinput.md) | :heavy_check_mark: | Description of the new Certificate for creation | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager. | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | +| `Certificate` | [components.CertificateInput](../../models/components/certificateinput.md) | :heavy_check_mark: | Description of the new Certificate for creation | | \ No newline at end of file diff --git a/docs/models/operations/createconsumergrouprequest.md b/docs/models/operations/createconsumergrouprequest.md index d667a8b..8933368 100644 --- a/docs/models/operations/createconsumergrouprequest.md +++ b/docs/models/operations/createconsumergrouprequest.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | -| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | -| `ConsumerGroup` | [components.ConsumerGroupInput](../../models/components/consumergroupinput.md) | :heavy_check_mark: | Description of the new Consumer Group for creation | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager. | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | +| `ConsumerGroup` | [components.ConsumerGroupInput](../../models/components/consumergroupinput.md) | :heavy_check_mark: | Description of the new Consumer Group for creation | | \ No newline at end of file diff --git a/docs/models/operations/createconsumerrequest.md b/docs/models/operations/createconsumerrequest.md index 99bee21..cf2e220 100644 --- a/docs/models/operations/createconsumerrequest.md +++ b/docs/models/operations/createconsumerrequest.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | -| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | -| `Consumer` | [components.ConsumerInput](../../models/components/consumerinput.md) | :heavy_check_mark: | Description of the new Consumer for creation | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager. | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | +| `Consumer` | [components.ConsumerInput](../../models/components/consumerinput.md) | :heavy_check_mark: | Description of the new Consumer for creation | | \ No newline at end of file diff --git a/docs/models/operations/createdataplanecertificaterequest.md b/docs/models/operations/createdataplanecertificaterequest.md index 9bbb2f7..313b6ec 100644 --- a/docs/models/operations/createdataplanecertificaterequest.md +++ b/docs/models/operations/createdataplanecertificaterequest.md @@ -5,5 +5,5 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | -| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | +| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager. | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | | `DataPlaneClientCertificateRequest` | [*components.DataPlaneClientCertificateRequest](../../models/components/dataplaneclientcertificaterequest.md) | :heavy_minus_sign: | Request body for creating a dp-client-certificate. | | \ No newline at end of file diff --git a/docs/models/operations/createhmacauthwithconsumerrequest.md b/docs/models/operations/createhmacauthwithconsumerrequest.md index 66c70d6..a2e3251 100644 --- a/docs/models/operations/createhmacauthwithconsumerrequest.md +++ b/docs/models/operations/createhmacauthwithconsumerrequest.md @@ -5,6 +5,6 @@ | Field | Type | Required | Description | Example | | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | +| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager. | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | | `ConsumerIDForNestedEntities` | *string* | :heavy_check_mark: | Consumer ID for nested entities | f28acbfa-c866-4587-b688-0208ac24df21 | | `HMACAuthWithoutParents` | [components.HMACAuthWithoutParents](../../models/components/hmacauthwithoutparents.md) | :heavy_check_mark: | Description of new HMAC-auth credential for creation | | \ No newline at end of file diff --git a/docs/models/operations/createjwtwithconsumerrequest.md b/docs/models/operations/createjwtwithconsumerrequest.md index a092c70..1c07730 100644 --- a/docs/models/operations/createjwtwithconsumerrequest.md +++ b/docs/models/operations/createjwtwithconsumerrequest.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | -| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | -| `ConsumerIDForNestedEntities` | *string* | :heavy_check_mark: | Consumer ID for nested entities | f28acbfa-c866-4587-b688-0208ac24df21 | -| `JWTWithoutParents` | [components.JWTWithoutParents](../../models/components/jwtwithoutparents.md) | :heavy_check_mark: | Description of new JWT for creation | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager. | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | +| `ConsumerIDForNestedEntities` | *string* | :heavy_check_mark: | Consumer ID for nested entities | f28acbfa-c866-4587-b688-0208ac24df21 | +| `JWTWithoutParents` | [components.JWTWithoutParents](../../models/components/jwtwithoutparents.md) | :heavy_check_mark: | Description of new JWT for creation | | \ No newline at end of file diff --git a/docs/models/operations/createkeyauthwithconsumerrequest.md b/docs/models/operations/createkeyauthwithconsumerrequest.md index eddf85a..a35d8da 100644 --- a/docs/models/operations/createkeyauthwithconsumerrequest.md +++ b/docs/models/operations/createkeyauthwithconsumerrequest.md @@ -5,6 +5,6 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | -| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | +| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager. | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | | `ConsumerIDForNestedEntities` | *string* | :heavy_check_mark: | Consumer ID for nested entities | f28acbfa-c866-4587-b688-0208ac24df21 | | `KeyAuthWithoutParents` | [components.KeyAuthWithoutParents](../../models/components/keyauthwithoutparents.md) | :heavy_check_mark: | Description of new API-key for creation | | \ No newline at end of file diff --git a/docs/models/operations/createkeyrequest.md b/docs/models/operations/createkeyrequest.md index ae1a607..aa3a142 100644 --- a/docs/models/operations/createkeyrequest.md +++ b/docs/models/operations/createkeyrequest.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | -| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | -| `Key` | [components.KeyInput](../../models/components/keyinput.md) | :heavy_check_mark: | Description of the new Key for creation | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager. | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | +| `Key` | [components.KeyInput](../../models/components/keyinput.md) | :heavy_check_mark: | Description of the new Key for creation | | \ No newline at end of file diff --git a/docs/models/operations/createkeysetrequest.md b/docs/models/operations/createkeysetrequest.md index e082184..bb6ff5d 100644 --- a/docs/models/operations/createkeysetrequest.md +++ b/docs/models/operations/createkeysetrequest.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | -| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | -| `KeySet` | [components.KeySetInput](../../models/components/keysetinput.md) | :heavy_check_mark: | Description of the new KeySet for creation | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager. | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | +| `KeySet` | [components.KeySetInput](../../models/components/keysetinput.md) | :heavy_check_mark: | Description of the new KeySet for creation | | \ No newline at end of file diff --git a/docs/models/operations/createpluginrequest.md b/docs/models/operations/createpluginrequest.md index d05e6f8..2dcd03d 100644 --- a/docs/models/operations/createpluginrequest.md +++ b/docs/models/operations/createpluginrequest.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | -| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | -| `Plugin` | [components.PluginInput](../../models/components/plugininput.md) | :heavy_check_mark: | Description of the new Plugin for creation | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager. | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | +| `Plugin` | [components.PluginInput](../../models/components/plugininput.md) | :heavy_check_mark: | Description of the new Plugin for creation | | \ No newline at end of file diff --git a/docs/models/operations/createpluginschemasrequest.md b/docs/models/operations/createpluginschemasrequest.md index d762689..a7cfe10 100644 --- a/docs/models/operations/createpluginschemasrequest.md +++ b/docs/models/operations/createpluginschemasrequest.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | -| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | -| `CreatePluginSchemas` | [*components.CreatePluginSchemas](../../models/components/createpluginschemas.md) | :heavy_minus_sign: | N/A | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager. | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | +| `CreatePluginSchemas` | [*components.CreatePluginSchemas](../../models/components/createpluginschemas.md) | :heavy_minus_sign: | N/A | | \ No newline at end of file diff --git a/docs/models/operations/createpluginwithrouterequest.md b/docs/models/operations/createpluginwithrouterequest.md index 84bf8bb..97bd7d8 100644 --- a/docs/models/operations/createpluginwithrouterequest.md +++ b/docs/models/operations/createpluginwithrouterequest.md @@ -5,6 +5,6 @@ | Field | Type | Required | Description | Example | | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | -| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | +| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager. | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | | `RouteID` | *string* | :heavy_check_mark: | ID of the Route to lookup | a4326a41-aa12-44e3-93e4-6b6e58bfb9d7 | | `PluginWithoutParents` | [components.PluginWithoutParents](../../models/components/pluginwithoutparents.md) | :heavy_check_mark: | Description of new Plugin for creation | | \ No newline at end of file diff --git a/docs/models/operations/createpluginwithservicerequest.md b/docs/models/operations/createpluginwithservicerequest.md index 8ff2f02..5dc04af 100644 --- a/docs/models/operations/createpluginwithservicerequest.md +++ b/docs/models/operations/createpluginwithservicerequest.md @@ -5,6 +5,6 @@ | Field | Type | Required | Description | Example | | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | -| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | +| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager. | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | | `ServiceID` | *string* | :heavy_check_mark: | ID of the Service to lookup | 7fca84d6-7d37-4a74-a7b0-93e576089a41 | | `PluginWithoutParents` | [components.PluginWithoutParents](../../models/components/pluginwithoutparents.md) | :heavy_check_mark: | Description of new Plugin for creation | | \ No newline at end of file diff --git a/docs/models/operations/createrouterequest.md b/docs/models/operations/createrouterequest.md index c70af1a..07bd2ec 100644 --- a/docs/models/operations/createrouterequest.md +++ b/docs/models/operations/createrouterequest.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | -| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | -| `Route` | [components.RouteInput](../../models/components/routeinput.md) | :heavy_check_mark: | Description of the new Route for creation | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager. | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | +| `Route` | [components.RouteInput](../../models/components/routeinput.md) | :heavy_check_mark: | Description of the new Route for creation | | \ No newline at end of file diff --git a/docs/models/operations/createroutewithservicerequest.md b/docs/models/operations/createroutewithservicerequest.md index 7da47f7..7c9711f 100644 --- a/docs/models/operations/createroutewithservicerequest.md +++ b/docs/models/operations/createroutewithservicerequest.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | -| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | -| `ServiceID` | *string* | :heavy_check_mark: | ID of the Service to lookup | 7fca84d6-7d37-4a74-a7b0-93e576089a41 | -| `RouteWithoutParents` | [components.RouteWithoutParents](../../models/components/routewithoutparents.md) | :heavy_check_mark: | Description of new Route for creation | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager. | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | +| `ServiceID` | *string* | :heavy_check_mark: | ID of the Service to lookup | 7fca84d6-7d37-4a74-a7b0-93e576089a41 | +| `RouteWithoutParents` | [components.RouteWithoutParents](../../models/components/routewithoutparents.md) | :heavy_check_mark: | Description of new Route for creation | | \ No newline at end of file diff --git a/docs/models/operations/createserverlesscloudgatewayresponse.md b/docs/models/operations/createserverlesscloudgatewayresponse.md deleted file mode 100644 index 6cef3cc..0000000 --- a/docs/models/operations/createserverlesscloudgatewayresponse.md +++ /dev/null @@ -1,11 +0,0 @@ -# CreateServerlessCloudGatewayResponse - - -## Fields - -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | -| `ContentType` | *string* | :heavy_check_mark: | HTTP response content type for this operation | -| `StatusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation | -| `RawResponse` | [*http.Response](https://pkg.go.dev/net/http#Response) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | -| `ServerlessCloudGateway` | [*components.ServerlessCloudGateway](../../models/components/serverlesscloudgateway.md) | :heavy_minus_sign: | A response to creating a serverless cloud gateway. | \ No newline at end of file diff --git a/docs/models/operations/createservicerequest.md b/docs/models/operations/createservicerequest.md index 835af75..2649ff7 100644 --- a/docs/models/operations/createservicerequest.md +++ b/docs/models/operations/createservicerequest.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | -| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | -| `Service` | [components.ServiceInput](../../models/components/serviceinput.md) | :heavy_check_mark: | Description of the new Service for creation | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager. | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | +| `Service` | [components.ServiceInput](../../models/components/serviceinput.md) | :heavy_check_mark: | Description of the new Service for creation | | \ No newline at end of file diff --git a/docs/models/operations/createsnirequest.md b/docs/models/operations/createsnirequest.md index 875da4c..3403047 100644 --- a/docs/models/operations/createsnirequest.md +++ b/docs/models/operations/createsnirequest.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | -| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | -| `Sni` | [components.SNIInput](../../models/components/sniinput.md) | :heavy_check_mark: | Description of the new SNI for creation | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager. | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | +| `Sni` | [components.SNIInput](../../models/components/sniinput.md) | :heavy_check_mark: | Description of the new SNI for creation | | \ No newline at end of file diff --git a/docs/models/operations/createsniwithcertificaterequest.md b/docs/models/operations/createsniwithcertificaterequest.md index f8d58c0..5764923 100644 --- a/docs/models/operations/createsniwithcertificaterequest.md +++ b/docs/models/operations/createsniwithcertificaterequest.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | -| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | -| `CertificateID` | *string* | :heavy_check_mark: | ID of the Certificate to lookup | ddf3cdaa-3329-4961-822a-ce6dbd38eff7 | -| `SNIWithoutParents` | [components.SNIWithoutParents](../../models/components/sniwithoutparents.md) | :heavy_check_mark: | Description of new SNI for creation | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager. | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | +| `CertificateID` | *string* | :heavy_check_mark: | ID of the Certificate to lookup | ddf3cdaa-3329-4961-822a-ce6dbd38eff7 | +| `SNIWithoutParents` | [components.SNIWithoutParents](../../models/components/sniwithoutparents.md) | :heavy_check_mark: | Description of new SNI for creation | | \ No newline at end of file diff --git a/docs/models/operations/createtargetwithupstreamrequest.md b/docs/models/operations/createtargetwithupstreamrequest.md index cc2c550..77e03a9 100644 --- a/docs/models/operations/createtargetwithupstreamrequest.md +++ b/docs/models/operations/createtargetwithupstreamrequest.md @@ -5,6 +5,6 @@ | Field | Type | Required | Description | Example | | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | -| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | +| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager. | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | | `UpstreamIDForTarget` | *string* | :heavy_check_mark: | ID or target of the Target to lookup | 5a078780-5d4c-4aae-984a-bdc6f52113d8 | | `TargetWithoutParents` | [components.TargetWithoutParents](../../models/components/targetwithoutparents.md) | :heavy_check_mark: | Description of new Target for creation | | \ No newline at end of file diff --git a/docs/models/operations/createupstreamrequest.md b/docs/models/operations/createupstreamrequest.md index e4e6c3c..48253e6 100644 --- a/docs/models/operations/createupstreamrequest.md +++ b/docs/models/operations/createupstreamrequest.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | -| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | -| `Upstream` | [components.UpstreamInput](../../models/components/upstreaminput.md) | :heavy_check_mark: | Description of the new Upstream for creation | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager. | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | +| `Upstream` | [components.UpstreamInput](../../models/components/upstreaminput.md) | :heavy_check_mark: | Description of the new Upstream for creation | | \ No newline at end of file diff --git a/docs/models/operations/createvaultrequest.md b/docs/models/operations/createvaultrequest.md index 66984b3..e5d2474 100644 --- a/docs/models/operations/createvaultrequest.md +++ b/docs/models/operations/createvaultrequest.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | -| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | -| `Vault` | [components.VaultInput](../../models/components/vaultinput.md) | :heavy_check_mark: | Description of the new Vault for creation | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager. | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | +| `Vault` | [components.VaultInput](../../models/components/vaultinput.md) | :heavy_check_mark: | Description of the new Vault for creation | | \ No newline at end of file diff --git a/docs/models/operations/deleteaclwithconsumerrequest.md b/docs/models/operations/deleteaclwithconsumerrequest.md index fc1383d..53caea3 100644 --- a/docs/models/operations/deleteaclwithconsumerrequest.md +++ b/docs/models/operations/deleteaclwithconsumerrequest.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | -| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | -| `ConsumerIDForNestedEntities` | *string* | :heavy_check_mark: | Consumer ID for nested entities | f28acbfa-c866-4587-b688-0208ac24df21 | -| `ACLID` | *string* | :heavy_check_mark: | ID of the ACL to lookup | f28acbfa-c866-4587-b688-0208ac24df21 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager. | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | +| `ConsumerIDForNestedEntities` | *string* | :heavy_check_mark: | Consumer ID for nested entities | f28acbfa-c866-4587-b688-0208ac24df21 | +| `ACLID` | *string* | :heavy_check_mark: | ID of the ACL to lookup | f28acbfa-c866-4587-b688-0208ac24df21 | \ No newline at end of file diff --git a/docs/models/operations/deletebasicauthwithconsumerrequest.md b/docs/models/operations/deletebasicauthwithconsumerrequest.md index 2c51f67..4adfc92 100644 --- a/docs/models/operations/deletebasicauthwithconsumerrequest.md +++ b/docs/models/operations/deletebasicauthwithconsumerrequest.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | -| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | -| `ConsumerIDForNestedEntities` | *string* | :heavy_check_mark: | Consumer ID for nested entities | f28acbfa-c866-4587-b688-0208ac24df21 | -| `BasicAuthID` | *string* | :heavy_check_mark: | ID of the Basic-auth credential to lookup | 80db1b58-ca7c-4d21-b92a-64eb07725872 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager. | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | +| `ConsumerIDForNestedEntities` | *string* | :heavy_check_mark: | Consumer ID for nested entities | f28acbfa-c866-4587-b688-0208ac24df21 | +| `BasicAuthID` | *string* | :heavy_check_mark: | ID of the Basic-auth credential to lookup | 80db1b58-ca7c-4d21-b92a-64eb07725872 | \ No newline at end of file diff --git a/docs/models/operations/deletecacertificaterequest.md b/docs/models/operations/deletecacertificaterequest.md index 49c4bd7..40bd522 100644 --- a/docs/models/operations/deletecacertificaterequest.md +++ b/docs/models/operations/deletecacertificaterequest.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | -| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | -| `CACertificateID` | *string* | :heavy_check_mark: | ID of the CA Certificate to lookup | 3c31f18a-f27a-4f9b-8cd4-bf841554612f | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager. | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | +| `CACertificateID` | *string* | :heavy_check_mark: | ID of the CA Certificate to lookup | 3c31f18a-f27a-4f9b-8cd4-bf841554612f | \ No newline at end of file diff --git a/docs/models/operations/deletecertificaterequest.md b/docs/models/operations/deletecertificaterequest.md index f8d0c56..9909d32 100644 --- a/docs/models/operations/deletecertificaterequest.md +++ b/docs/models/operations/deletecertificaterequest.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | -| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | -| `CertificateID` | *string* | :heavy_check_mark: | ID of the Certificate to lookup | ddf3cdaa-3329-4961-822a-ce6dbd38eff7 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager. | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | +| `CertificateID` | *string* | :heavy_check_mark: | ID of the Certificate to lookup | ddf3cdaa-3329-4961-822a-ce6dbd38eff7 | \ No newline at end of file diff --git a/docs/models/operations/deleteconsumergrouprequest.md b/docs/models/operations/deleteconsumergrouprequest.md index ebb1e50..a9cf21d 100644 --- a/docs/models/operations/deleteconsumergrouprequest.md +++ b/docs/models/operations/deleteconsumergrouprequest.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | -| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | -| `ConsumerGroupID` | *string* | :heavy_check_mark: | ID of the Consumer Group to lookup | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager. | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | +| `ConsumerGroupID` | *string* | :heavy_check_mark: | ID of the Consumer Group to lookup | | \ No newline at end of file diff --git a/docs/models/operations/deleteconsumerrequest.md b/docs/models/operations/deleteconsumerrequest.md index f83e88d..dc6c770 100644 --- a/docs/models/operations/deleteconsumerrequest.md +++ b/docs/models/operations/deleteconsumerrequest.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | -| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | -| `ConsumerID` | *string* | :heavy_check_mark: | ID of the Consumer to lookup | c1059869-6fa7-4329-a5f5-5946d14ca2c5 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager. | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | +| `ConsumerID` | *string* | :heavy_check_mark: | ID of the Consumer to lookup | c1059869-6fa7-4329-a5f5-5946d14ca2c5 | \ No newline at end of file diff --git a/docs/models/operations/deletedataplanecertificaterequest.md b/docs/models/operations/deletedataplanecertificaterequest.md index 7b3575a..a706851 100644 --- a/docs/models/operations/deletedataplanecertificaterequest.md +++ b/docs/models/operations/deletedataplanecertificaterequest.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | -| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | -| `CertificateID` | *string* | :heavy_check_mark: | N/A | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager. | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | +| `CertificateID` | *string* | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/docs/models/operations/deletehmacauthwithconsumerrequest.md b/docs/models/operations/deletehmacauthwithconsumerrequest.md index 95fac5c..1e69d4b 100644 --- a/docs/models/operations/deletehmacauthwithconsumerrequest.md +++ b/docs/models/operations/deletehmacauthwithconsumerrequest.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | -| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | -| `ConsumerIDForNestedEntities` | *string* | :heavy_check_mark: | Consumer ID for nested entities | f28acbfa-c866-4587-b688-0208ac24df21 | -| `HMACAuthID` | *string* | :heavy_check_mark: | ID of the HMAC-auth credential to lookup | 70e7b00b-72f2-471b-a5ce-9c4171775360 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager. | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | +| `ConsumerIDForNestedEntities` | *string* | :heavy_check_mark: | Consumer ID for nested entities | f28acbfa-c866-4587-b688-0208ac24df21 | +| `HMACAuthID` | *string* | :heavy_check_mark: | ID of the HMAC-auth credential to lookup | 70e7b00b-72f2-471b-a5ce-9c4171775360 | \ No newline at end of file diff --git a/docs/models/operations/deletejwtwithconsumerrequest.md b/docs/models/operations/deletejwtwithconsumerrequest.md index d7ad971..d7847d2 100644 --- a/docs/models/operations/deletejwtwithconsumerrequest.md +++ b/docs/models/operations/deletejwtwithconsumerrequest.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | -| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | -| `ConsumerIDForNestedEntities` | *string* | :heavy_check_mark: | Consumer ID for nested entities | f28acbfa-c866-4587-b688-0208ac24df21 | -| `JWTID` | *string* | :heavy_check_mark: | ID of the JWT to lookup | 4a7f5faa-8c96-46d6-8214-c87573ef2ac4 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager. | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | +| `ConsumerIDForNestedEntities` | *string* | :heavy_check_mark: | Consumer ID for nested entities | f28acbfa-c866-4587-b688-0208ac24df21 | +| `JWTID` | *string* | :heavy_check_mark: | ID of the JWT to lookup | 4a7f5faa-8c96-46d6-8214-c87573ef2ac4 | \ No newline at end of file diff --git a/docs/models/operations/deletekeyauthwithconsumerrequest.md b/docs/models/operations/deletekeyauthwithconsumerrequest.md index 551fe78..d92c88f 100644 --- a/docs/models/operations/deletekeyauthwithconsumerrequest.md +++ b/docs/models/operations/deletekeyauthwithconsumerrequest.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | -| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | -| `ConsumerIDForNestedEntities` | *string* | :heavy_check_mark: | Consumer ID for nested entities | f28acbfa-c866-4587-b688-0208ac24df21 | -| `KeyAuthID` | *string* | :heavy_check_mark: | ID of the API-key to lookup | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager. | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | +| `ConsumerIDForNestedEntities` | *string* | :heavy_check_mark: | Consumer ID for nested entities | f28acbfa-c866-4587-b688-0208ac24df21 | +| `KeyAuthID` | *string* | :heavy_check_mark: | ID of the API-key to lookup | | \ No newline at end of file diff --git a/docs/models/operations/deletekeyrequest.md b/docs/models/operations/deletekeyrequest.md index 727c292..8be5d5c 100644 --- a/docs/models/operations/deletekeyrequest.md +++ b/docs/models/operations/deletekeyrequest.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | -| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | -| `KeyID` | *string* | :heavy_check_mark: | ID of the Key to lookup | bba22c06-a632-42be-a018-1b9ff357b5b9 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager. | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | +| `KeyID` | *string* | :heavy_check_mark: | ID of the Key to lookup | bba22c06-a632-42be-a018-1b9ff357b5b9 | \ No newline at end of file diff --git a/docs/models/operations/deletekeysetrequest.md b/docs/models/operations/deletekeysetrequest.md index a4eb2d7..d848c66 100644 --- a/docs/models/operations/deletekeysetrequest.md +++ b/docs/models/operations/deletekeysetrequest.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | -| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | -| `KeySetID` | *string* | :heavy_check_mark: | ID of the KeySet to lookup | 6cc34248-50b4-4a81-9201-3bdf7a83f712 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager. | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | +| `KeySetID` | *string* | :heavy_check_mark: | ID of the KeySet to lookup | 6cc34248-50b4-4a81-9201-3bdf7a83f712 | \ No newline at end of file diff --git a/docs/models/operations/deletenodesnodeidrequest.md b/docs/models/operations/deletenodesnodeidrequest.md index 377edd3..e5d0c2f 100644 --- a/docs/models/operations/deletenodesnodeidrequest.md +++ b/docs/models/operations/deletenodesnodeidrequest.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | -| `NodeID` | *string* | :heavy_check_mark: | N/A | | -| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `NodeID` | *string* | :heavy_check_mark: | N/A | | +| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager. | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | \ No newline at end of file diff --git a/docs/models/operations/deletepluginrequest.md b/docs/models/operations/deletepluginrequest.md index ac1ec06..79aaf02 100644 --- a/docs/models/operations/deletepluginrequest.md +++ b/docs/models/operations/deletepluginrequest.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | -| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | -| `PluginID` | *string* | :heavy_check_mark: | ID of the Plugin to lookup | 3473c251-5b6c-4f45-b1ff-7ede735a366d | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager. | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | +| `PluginID` | *string* | :heavy_check_mark: | ID of the Plugin to lookup | 3473c251-5b6c-4f45-b1ff-7ede735a366d | \ No newline at end of file diff --git a/docs/models/operations/deletepluginschemasrequest.md b/docs/models/operations/deletepluginschemasrequest.md index b3eba22..a19a7ec 100644 --- a/docs/models/operations/deletepluginschemasrequest.md +++ b/docs/models/operations/deletepluginschemasrequest.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | -| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | -| `Name` | *string* | :heavy_check_mark: | The custom plugin name | myplugin | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager. | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | +| `Name` | *string* | :heavy_check_mark: | The custom plugin name | myplugin | \ No newline at end of file diff --git a/docs/models/operations/deletepluginwithrouterequest.md b/docs/models/operations/deletepluginwithrouterequest.md index a0db22e..156e575 100644 --- a/docs/models/operations/deletepluginwithrouterequest.md +++ b/docs/models/operations/deletepluginwithrouterequest.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | -| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | -| `RouteID` | *string* | :heavy_check_mark: | ID of the Route to lookup | a4326a41-aa12-44e3-93e4-6b6e58bfb9d7 | -| `PluginID` | *string* | :heavy_check_mark: | ID of the Plugin to lookup | 3473c251-5b6c-4f45-b1ff-7ede735a366d | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager. | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | +| `RouteID` | *string* | :heavy_check_mark: | ID of the Route to lookup | a4326a41-aa12-44e3-93e4-6b6e58bfb9d7 | +| `PluginID` | *string* | :heavy_check_mark: | ID of the Plugin to lookup | 3473c251-5b6c-4f45-b1ff-7ede735a366d | \ No newline at end of file diff --git a/docs/models/operations/deletepluginwithservicerequest.md b/docs/models/operations/deletepluginwithservicerequest.md index a2a727d..37ac6e6 100644 --- a/docs/models/operations/deletepluginwithservicerequest.md +++ b/docs/models/operations/deletepluginwithservicerequest.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | -| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | -| `ServiceID` | *string* | :heavy_check_mark: | ID of the Service to lookup | 7fca84d6-7d37-4a74-a7b0-93e576089a41 | -| `PluginID` | *string* | :heavy_check_mark: | ID of the Plugin to lookup | 3473c251-5b6c-4f45-b1ff-7ede735a366d | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager. | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | +| `ServiceID` | *string* | :heavy_check_mark: | ID of the Service to lookup | 7fca84d6-7d37-4a74-a7b0-93e576089a41 | +| `PluginID` | *string* | :heavy_check_mark: | ID of the Plugin to lookup | 3473c251-5b6c-4f45-b1ff-7ede735a366d | \ No newline at end of file diff --git a/docs/models/operations/deleterouterequest.md b/docs/models/operations/deleterouterequest.md index c2d2f8a..506b96a 100644 --- a/docs/models/operations/deleterouterequest.md +++ b/docs/models/operations/deleterouterequest.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | -| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | -| `RouteID` | *string* | :heavy_check_mark: | ID of the Route to lookup | a4326a41-aa12-44e3-93e4-6b6e58bfb9d7 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager. | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | +| `RouteID` | *string* | :heavy_check_mark: | ID of the Route to lookup | a4326a41-aa12-44e3-93e4-6b6e58bfb9d7 | \ No newline at end of file diff --git a/docs/models/operations/deleteroutewithservicerequest.md b/docs/models/operations/deleteroutewithservicerequest.md index fc5f87c..6eb41fa 100644 --- a/docs/models/operations/deleteroutewithservicerequest.md +++ b/docs/models/operations/deleteroutewithservicerequest.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | -| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | -| `ServiceID` | *string* | :heavy_check_mark: | ID of the Service to lookup | 7fca84d6-7d37-4a74-a7b0-93e576089a41 | -| `RouteID` | *string* | :heavy_check_mark: | ID of the Route to lookup | a4326a41-aa12-44e3-93e4-6b6e58bfb9d7 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager. | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | +| `ServiceID` | *string* | :heavy_check_mark: | ID of the Service to lookup | 7fca84d6-7d37-4a74-a7b0-93e576089a41 | +| `RouteID` | *string* | :heavy_check_mark: | ID of the Route to lookup | a4326a41-aa12-44e3-93e4-6b6e58bfb9d7 | \ No newline at end of file diff --git a/docs/models/operations/deleteserverlesscloudgatewayrequest.md b/docs/models/operations/deleteserverlesscloudgatewayrequest.md deleted file mode 100644 index 8f42c35..0000000 --- a/docs/models/operations/deleteserverlesscloudgatewayrequest.md +++ /dev/null @@ -1,8 +0,0 @@ -# DeleteServerlessCloudGatewayRequest - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------ | ------------------------------------------------ | ------------------------------------------------ | ------------------------------------------------ | ------------------------------------------------ | -| `ControlPlaneID` | *string* | :heavy_check_mark: | Id of the Serverless Cloud Gateway control plane | bf138ba2-c9b1-4229-b268-04d9d8a6410b | \ No newline at end of file diff --git a/docs/models/operations/deleteservicerequest.md b/docs/models/operations/deleteservicerequest.md index 7501227..4897c85 100644 --- a/docs/models/operations/deleteservicerequest.md +++ b/docs/models/operations/deleteservicerequest.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | -| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | -| `ServiceID` | *string* | :heavy_check_mark: | ID of the Service to lookup | 7fca84d6-7d37-4a74-a7b0-93e576089a41 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager. | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | +| `ServiceID` | *string* | :heavy_check_mark: | ID of the Service to lookup | 7fca84d6-7d37-4a74-a7b0-93e576089a41 | \ No newline at end of file diff --git a/docs/models/operations/deletesnirequest.md b/docs/models/operations/deletesnirequest.md index 669f794..4282139 100644 --- a/docs/models/operations/deletesnirequest.md +++ b/docs/models/operations/deletesnirequest.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | -| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | -| `SNIID` | *string* | :heavy_check_mark: | ID of the SNI to lookup | 64c17a1a-b7d7-4a65-a5a4-42e4a7016e7f | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager. | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | +| `SNIID` | *string* | :heavy_check_mark: | ID of the SNI to lookup | 64c17a1a-b7d7-4a65-a5a4-42e4a7016e7f | \ No newline at end of file diff --git a/docs/models/operations/deletesniwithcertificaterequest.md b/docs/models/operations/deletesniwithcertificaterequest.md index 897c3eb..beed439 100644 --- a/docs/models/operations/deletesniwithcertificaterequest.md +++ b/docs/models/operations/deletesniwithcertificaterequest.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | -| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | -| `CertificateID` | *string* | :heavy_check_mark: | ID of the Certificate to lookup | ddf3cdaa-3329-4961-822a-ce6dbd38eff7 | -| `SNIID` | *string* | :heavy_check_mark: | ID of the SNI to lookup | 64c17a1a-b7d7-4a65-a5a4-42e4a7016e7f | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager. | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | +| `CertificateID` | *string* | :heavy_check_mark: | ID of the Certificate to lookup | ddf3cdaa-3329-4961-822a-ce6dbd38eff7 | +| `SNIID` | *string* | :heavy_check_mark: | ID of the SNI to lookup | 64c17a1a-b7d7-4a65-a5a4-42e4a7016e7f | \ No newline at end of file diff --git a/docs/models/operations/deletetargetwithupstreamrequest.md b/docs/models/operations/deletetargetwithupstreamrequest.md index 74971cc..52ac20a 100644 --- a/docs/models/operations/deletetargetwithupstreamrequest.md +++ b/docs/models/operations/deletetargetwithupstreamrequest.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | -| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | -| `UpstreamIDForTarget` | *string* | :heavy_check_mark: | ID or target of the Target to lookup | 5a078780-5d4c-4aae-984a-bdc6f52113d8 | -| `TargetID` | *string* | :heavy_check_mark: | ID of the Target to lookup | 5a078780-5d4c-4aae-984a-bdc6f52113d8 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager. | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | +| `UpstreamIDForTarget` | *string* | :heavy_check_mark: | ID or target of the Target to lookup | 5a078780-5d4c-4aae-984a-bdc6f52113d8 | +| `TargetID` | *string* | :heavy_check_mark: | ID of the Target to lookup | 5a078780-5d4c-4aae-984a-bdc6f52113d8 | \ No newline at end of file diff --git a/docs/models/operations/deleteupstreamrequest.md b/docs/models/operations/deleteupstreamrequest.md index 3d5359e..9910bde 100644 --- a/docs/models/operations/deleteupstreamrequest.md +++ b/docs/models/operations/deleteupstreamrequest.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | -| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | -| `UpstreamID` | *string* | :heavy_check_mark: | ID of the Upstream to lookup | 426d620c-7058-4ae6-aacc-f85a3204a2c5 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager. | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | +| `UpstreamID` | *string* | :heavy_check_mark: | ID of the Upstream to lookup | 426d620c-7058-4ae6-aacc-f85a3204a2c5 | \ No newline at end of file diff --git a/docs/models/operations/deletevaultrequest.md b/docs/models/operations/deletevaultrequest.md index 054bc10..796b60a 100644 --- a/docs/models/operations/deletevaultrequest.md +++ b/docs/models/operations/deletevaultrequest.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | -| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | -| `VaultID` | *string* | :heavy_check_mark: | ID of the Vault to lookup | 9d4d6d19-77c6-428e-a965-9bc9647633e9 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager. | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | +| `VaultID` | *string* | :heavy_check_mark: | ID of the Vault to lookup | 9d4d6d19-77c6-428e-a965-9bc9647633e9 | \ No newline at end of file diff --git a/docs/models/operations/fetchpluginschemarequest.md b/docs/models/operations/fetchpluginschemarequest.md index 19037e8..4ee45e4 100644 --- a/docs/models/operations/fetchpluginschemarequest.md +++ b/docs/models/operations/fetchpluginschemarequest.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | -| `PluginName` | *string* | :heavy_check_mark: | The name of the plugin | | -| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `PluginName` | *string* | :heavy_check_mark: | The name of the plugin | | +| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager. | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | \ No newline at end of file diff --git a/docs/models/operations/getaclwithconsumerrequest.md b/docs/models/operations/getaclwithconsumerrequest.md index 1dbbf65..8d9f370 100644 --- a/docs/models/operations/getaclwithconsumerrequest.md +++ b/docs/models/operations/getaclwithconsumerrequest.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | -| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | -| `ConsumerIDForNestedEntities` | *string* | :heavy_check_mark: | Consumer ID for nested entities | f28acbfa-c866-4587-b688-0208ac24df21 | -| `ACLID` | *string* | :heavy_check_mark: | ID of the ACL to lookup | f28acbfa-c866-4587-b688-0208ac24df21 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager. | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | +| `ConsumerIDForNestedEntities` | *string* | :heavy_check_mark: | Consumer ID for nested entities | f28acbfa-c866-4587-b688-0208ac24df21 | +| `ACLID` | *string* | :heavy_check_mark: | ID of the ACL to lookup | f28acbfa-c866-4587-b688-0208ac24df21 | \ No newline at end of file diff --git a/docs/models/operations/getbasicauthwithconsumerrequest.md b/docs/models/operations/getbasicauthwithconsumerrequest.md index 1ab02c6..df9c860 100644 --- a/docs/models/operations/getbasicauthwithconsumerrequest.md +++ b/docs/models/operations/getbasicauthwithconsumerrequest.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | -| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | -| `ConsumerIDForNestedEntities` | *string* | :heavy_check_mark: | Consumer ID for nested entities | f28acbfa-c866-4587-b688-0208ac24df21 | -| `BasicAuthID` | *string* | :heavy_check_mark: | ID of the Basic-auth credential to lookup | 80db1b58-ca7c-4d21-b92a-64eb07725872 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager. | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | +| `ConsumerIDForNestedEntities` | *string* | :heavy_check_mark: | Consumer ID for nested entities | f28acbfa-c866-4587-b688-0208ac24df21 | +| `BasicAuthID` | *string* | :heavy_check_mark: | ID of the Basic-auth credential to lookup | 80db1b58-ca7c-4d21-b92a-64eb07725872 | \ No newline at end of file diff --git a/docs/models/operations/getcacertificaterequest.md b/docs/models/operations/getcacertificaterequest.md index 9f7cba3..421c68c 100644 --- a/docs/models/operations/getcacertificaterequest.md +++ b/docs/models/operations/getcacertificaterequest.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | -| `CACertificateID` | *string* | :heavy_check_mark: | ID of the CA Certificate to lookup | 3c31f18a-f27a-4f9b-8cd4-bf841554612f | -| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `CACertificateID` | *string* | :heavy_check_mark: | ID of the CA Certificate to lookup | 3c31f18a-f27a-4f9b-8cd4-bf841554612f | +| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager. | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | \ No newline at end of file diff --git a/docs/models/operations/getcertificaterequest.md b/docs/models/operations/getcertificaterequest.md index 2c4cf5a..b1a8bba 100644 --- a/docs/models/operations/getcertificaterequest.md +++ b/docs/models/operations/getcertificaterequest.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | -| `CertificateID` | *string* | :heavy_check_mark: | ID of the Certificate to lookup | ddf3cdaa-3329-4961-822a-ce6dbd38eff7 | -| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `CertificateID` | *string* | :heavy_check_mark: | ID of the Certificate to lookup | ddf3cdaa-3329-4961-822a-ce6dbd38eff7 | +| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager. | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | \ No newline at end of file diff --git a/docs/models/operations/getconsumergrouprequest.md b/docs/models/operations/getconsumergrouprequest.md index 6448b51..6c2c41e 100644 --- a/docs/models/operations/getconsumergrouprequest.md +++ b/docs/models/operations/getconsumergrouprequest.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | -| `ConsumerGroupID` | *string* | :heavy_check_mark: | ID of the Consumer Group to lookup | | -| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `ConsumerGroupID` | *string* | :heavy_check_mark: | ID of the Consumer Group to lookup | | +| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager. | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | \ No newline at end of file diff --git a/docs/models/operations/getconsumerrequest.md b/docs/models/operations/getconsumerrequest.md index dba1557..8145365 100644 --- a/docs/models/operations/getconsumerrequest.md +++ b/docs/models/operations/getconsumerrequest.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | -| `ConsumerID` | *string* | :heavy_check_mark: | ID of the Consumer to lookup | c1059869-6fa7-4329-a5f5-5946d14ca2c5 | -| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `ConsumerID` | *string* | :heavy_check_mark: | ID of the Consumer to lookup | c1059869-6fa7-4329-a5f5-5946d14ca2c5 | +| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager. | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | \ No newline at end of file diff --git a/docs/models/operations/getdataplanecertificaterequest.md b/docs/models/operations/getdataplanecertificaterequest.md index 6a944ce..9ac0e6b 100644 --- a/docs/models/operations/getdataplanecertificaterequest.md +++ b/docs/models/operations/getdataplanecertificaterequest.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | -| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | -| `CertificateID` | *string* | :heavy_check_mark: | N/A | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager. | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | +| `CertificateID` | *string* | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/docs/models/operations/getexpectedconfighashrequest.md b/docs/models/operations/getexpectedconfighashrequest.md index 482fbb6..7b32544 100644 --- a/docs/models/operations/getexpectedconfighashrequest.md +++ b/docs/models/operations/getexpectedconfighashrequest.md @@ -3,6 +3,6 @@ ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | -| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager. | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | \ No newline at end of file diff --git a/docs/models/operations/gethmacauthwithconsumerrequest.md b/docs/models/operations/gethmacauthwithconsumerrequest.md index 745478e..eb08dea 100644 --- a/docs/models/operations/gethmacauthwithconsumerrequest.md +++ b/docs/models/operations/gethmacauthwithconsumerrequest.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | -| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | -| `ConsumerIDForNestedEntities` | *string* | :heavy_check_mark: | Consumer ID for nested entities | f28acbfa-c866-4587-b688-0208ac24df21 | -| `HMACAuthID` | *string* | :heavy_check_mark: | ID of the HMAC-auth credential to lookup | 70e7b00b-72f2-471b-a5ce-9c4171775360 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager. | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | +| `ConsumerIDForNestedEntities` | *string* | :heavy_check_mark: | Consumer ID for nested entities | f28acbfa-c866-4587-b688-0208ac24df21 | +| `HMACAuthID` | *string* | :heavy_check_mark: | ID of the HMAC-auth credential to lookup | 70e7b00b-72f2-471b-a5ce-9c4171775360 | \ No newline at end of file diff --git a/docs/models/operations/getjwtwithconsumerrequest.md b/docs/models/operations/getjwtwithconsumerrequest.md index dc7f875..c1ea343 100644 --- a/docs/models/operations/getjwtwithconsumerrequest.md +++ b/docs/models/operations/getjwtwithconsumerrequest.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | -| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | -| `ConsumerIDForNestedEntities` | *string* | :heavy_check_mark: | Consumer ID for nested entities | f28acbfa-c866-4587-b688-0208ac24df21 | -| `JWTID` | *string* | :heavy_check_mark: | ID of the JWT to lookup | 4a7f5faa-8c96-46d6-8214-c87573ef2ac4 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager. | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | +| `ConsumerIDForNestedEntities` | *string* | :heavy_check_mark: | Consumer ID for nested entities | f28acbfa-c866-4587-b688-0208ac24df21 | +| `JWTID` | *string* | :heavy_check_mark: | ID of the JWT to lookup | 4a7f5faa-8c96-46d6-8214-c87573ef2ac4 | \ No newline at end of file diff --git a/docs/models/operations/getkeyauthwithconsumerrequest.md b/docs/models/operations/getkeyauthwithconsumerrequest.md index dff61bf..4963fd6 100644 --- a/docs/models/operations/getkeyauthwithconsumerrequest.md +++ b/docs/models/operations/getkeyauthwithconsumerrequest.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | -| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | -| `ConsumerIDForNestedEntities` | *string* | :heavy_check_mark: | Consumer ID for nested entities | f28acbfa-c866-4587-b688-0208ac24df21 | -| `KeyAuthID` | *string* | :heavy_check_mark: | ID of the API-key to lookup | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager. | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | +| `ConsumerIDForNestedEntities` | *string* | :heavy_check_mark: | Consumer ID for nested entities | f28acbfa-c866-4587-b688-0208ac24df21 | +| `KeyAuthID` | *string* | :heavy_check_mark: | ID of the API-key to lookup | | \ No newline at end of file diff --git a/docs/models/operations/getkeyrequest.md b/docs/models/operations/getkeyrequest.md index 642f5fa..23ac49e 100644 --- a/docs/models/operations/getkeyrequest.md +++ b/docs/models/operations/getkeyrequest.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | -| `KeyID` | *string* | :heavy_check_mark: | ID of the Key to lookup | bba22c06-a632-42be-a018-1b9ff357b5b9 | -| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `KeyID` | *string* | :heavy_check_mark: | ID of the Key to lookup | bba22c06-a632-42be-a018-1b9ff357b5b9 | +| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager. | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | \ No newline at end of file diff --git a/docs/models/operations/getkeysetrequest.md b/docs/models/operations/getkeysetrequest.md index 2fba332..3814f99 100644 --- a/docs/models/operations/getkeysetrequest.md +++ b/docs/models/operations/getkeysetrequest.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | -| `KeySetID` | *string* | :heavy_check_mark: | ID of the KeySet to lookup | 6cc34248-50b4-4a81-9201-3bdf7a83f712 | -| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `KeySetID` | *string* | :heavy_check_mark: | ID of the KeySet to lookup | 6cc34248-50b4-4a81-9201-3bdf7a83f712 | +| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager. | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | \ No newline at end of file diff --git a/docs/models/operations/getnodeseolrequest.md b/docs/models/operations/getnodeseolrequest.md index 40bfa2d..f116746 100644 --- a/docs/models/operations/getnodeseolrequest.md +++ b/docs/models/operations/getnodeseolrequest.md @@ -5,6 +5,6 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | -| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | +| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager. | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | | `PageSize` | **int64* | :heavy_minus_sign: | The maximum number of items to include per page. The last page of a collection may include fewer items. | 10 | | `PageAfter` | **string* | :heavy_minus_sign: | Request the next page of data, starting with the item after this parameter. | ewogICJpZCI6ICJoZWxsbyB3b3JsZCIKfQ | \ No newline at end of file diff --git a/docs/models/operations/getnodesnodeidrequest.md b/docs/models/operations/getnodesnodeidrequest.md index 2b0d293..15fa929 100644 --- a/docs/models/operations/getnodesnodeidrequest.md +++ b/docs/models/operations/getnodesnodeidrequest.md @@ -6,6 +6,6 @@ | Field | Type | Required | Description | Example | | ----------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- | | `NodeID` | *string* | :heavy_check_mark: | N/A | | -| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | +| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager. | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | | `Size` | **int64* | :heavy_minus_sign: | Number of resources to be returned. | | | `Tags` | **string* | :heavy_minus_sign: | A list of tags to filter the list of resources on. Multiple tags can be concatenated using ',' to mean AND or using '/' to mean OR. | tag1,tag2 | \ No newline at end of file diff --git a/docs/models/operations/getpluginrequest.md b/docs/models/operations/getpluginrequest.md index 7ef21ff..72ba83e 100644 --- a/docs/models/operations/getpluginrequest.md +++ b/docs/models/operations/getpluginrequest.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | -| `PluginID` | *string* | :heavy_check_mark: | ID of the Plugin to lookup | 3473c251-5b6c-4f45-b1ff-7ede735a366d | -| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `PluginID` | *string* | :heavy_check_mark: | ID of the Plugin to lookup | 3473c251-5b6c-4f45-b1ff-7ede735a366d | +| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager. | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | \ No newline at end of file diff --git a/docs/models/operations/getpluginschemarequest.md b/docs/models/operations/getpluginschemarequest.md index 8ff54d2..4c38b8a 100644 --- a/docs/models/operations/getpluginschemarequest.md +++ b/docs/models/operations/getpluginschemarequest.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | -| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | -| `Name` | *string* | :heavy_check_mark: | The custom plugin name | myplugin | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager. | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | +| `Name` | *string* | :heavy_check_mark: | The custom plugin name | myplugin | \ No newline at end of file diff --git a/docs/models/operations/getpluginwithrouterequest.md b/docs/models/operations/getpluginwithrouterequest.md index 79c7c5e..bdfb97b 100644 --- a/docs/models/operations/getpluginwithrouterequest.md +++ b/docs/models/operations/getpluginwithrouterequest.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | -| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | -| `RouteID` | *string* | :heavy_check_mark: | ID of the Route to lookup | a4326a41-aa12-44e3-93e4-6b6e58bfb9d7 | -| `PluginID` | *string* | :heavy_check_mark: | ID of the Plugin to lookup | 3473c251-5b6c-4f45-b1ff-7ede735a366d | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager. | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | +| `RouteID` | *string* | :heavy_check_mark: | ID of the Route to lookup | a4326a41-aa12-44e3-93e4-6b6e58bfb9d7 | +| `PluginID` | *string* | :heavy_check_mark: | ID of the Plugin to lookup | 3473c251-5b6c-4f45-b1ff-7ede735a366d | \ No newline at end of file diff --git a/docs/models/operations/getpluginwithservicerequest.md b/docs/models/operations/getpluginwithservicerequest.md index 6d3d239..f0fb2e5 100644 --- a/docs/models/operations/getpluginwithservicerequest.md +++ b/docs/models/operations/getpluginwithservicerequest.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | -| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | -| `ServiceID` | *string* | :heavy_check_mark: | ID of the Service to lookup | 7fca84d6-7d37-4a74-a7b0-93e576089a41 | -| `PluginID` | *string* | :heavy_check_mark: | ID of the Plugin to lookup | 3473c251-5b6c-4f45-b1ff-7ede735a366d | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager. | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | +| `ServiceID` | *string* | :heavy_check_mark: | ID of the Service to lookup | 7fca84d6-7d37-4a74-a7b0-93e576089a41 | +| `PluginID` | *string* | :heavy_check_mark: | ID of the Plugin to lookup | 3473c251-5b6c-4f45-b1ff-7ede735a366d | \ No newline at end of file diff --git a/docs/models/operations/getrouterequest.md b/docs/models/operations/getrouterequest.md index 1d49cd2..e38bcc5 100644 --- a/docs/models/operations/getrouterequest.md +++ b/docs/models/operations/getrouterequest.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | -| `RouteID` | *string* | :heavy_check_mark: | ID of the Route to lookup | a4326a41-aa12-44e3-93e4-6b6e58bfb9d7 | -| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `RouteID` | *string* | :heavy_check_mark: | ID of the Route to lookup | a4326a41-aa12-44e3-93e4-6b6e58bfb9d7 | +| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager. | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | \ No newline at end of file diff --git a/docs/models/operations/getroutewithservicerequest.md b/docs/models/operations/getroutewithservicerequest.md index 812b4ae..486cd8a 100644 --- a/docs/models/operations/getroutewithservicerequest.md +++ b/docs/models/operations/getroutewithservicerequest.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | -| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | -| `ServiceID` | *string* | :heavy_check_mark: | ID of the Service to lookup | 7fca84d6-7d37-4a74-a7b0-93e576089a41 | -| `RouteID` | *string* | :heavy_check_mark: | ID of the Route to lookup | a4326a41-aa12-44e3-93e4-6b6e58bfb9d7 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager. | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | +| `ServiceID` | *string* | :heavy_check_mark: | ID of the Service to lookup | 7fca84d6-7d37-4a74-a7b0-93e576089a41 | +| `RouteID` | *string* | :heavy_check_mark: | ID of the Route to lookup | a4326a41-aa12-44e3-93e4-6b6e58bfb9d7 | \ No newline at end of file diff --git a/docs/models/operations/getserverlesscloudgatewayrequest.md b/docs/models/operations/getserverlesscloudgatewayrequest.md deleted file mode 100644 index f7e1830..0000000 --- a/docs/models/operations/getserverlesscloudgatewayrequest.md +++ /dev/null @@ -1,8 +0,0 @@ -# GetServerlessCloudGatewayRequest - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------ | ------------------------------------------------ | ------------------------------------------------ | ------------------------------------------------ | ------------------------------------------------ | -| `ControlPlaneID` | *string* | :heavy_check_mark: | Id of the Serverless Cloud Gateway control plane | bf138ba2-c9b1-4229-b268-04d9d8a6410b | \ No newline at end of file diff --git a/docs/models/operations/getserverlesscloudgatewayresponse.md b/docs/models/operations/getserverlesscloudgatewayresponse.md deleted file mode 100644 index d6bcd05..0000000 --- a/docs/models/operations/getserverlesscloudgatewayresponse.md +++ /dev/null @@ -1,11 +0,0 @@ -# GetServerlessCloudGatewayResponse - - -## Fields - -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | -| `ContentType` | *string* | :heavy_check_mark: | HTTP response content type for this operation | -| `StatusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation | -| `RawResponse` | [*http.Response](https://pkg.go.dev/net/http#Response) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | -| `ServerlessCloudGateway` | [*components.ServerlessCloudGateway](../../models/components/serverlesscloudgateway.md) | :heavy_minus_sign: | A response to retrieving a serverless cloud gateway. | \ No newline at end of file diff --git a/docs/models/operations/getservicerequest.md b/docs/models/operations/getservicerequest.md index b63562d..2cf54a0 100644 --- a/docs/models/operations/getservicerequest.md +++ b/docs/models/operations/getservicerequest.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | -| `ServiceID` | *string* | :heavy_check_mark: | ID of the Service to lookup | 7fca84d6-7d37-4a74-a7b0-93e576089a41 | -| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `ServiceID` | *string* | :heavy_check_mark: | ID of the Service to lookup | 7fca84d6-7d37-4a74-a7b0-93e576089a41 | +| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager. | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | \ No newline at end of file diff --git a/docs/models/operations/getsnirequest.md b/docs/models/operations/getsnirequest.md index 83d3496..9ad94ba 100644 --- a/docs/models/operations/getsnirequest.md +++ b/docs/models/operations/getsnirequest.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | -| `SNIID` | *string* | :heavy_check_mark: | ID of the SNI to lookup | 64c17a1a-b7d7-4a65-a5a4-42e4a7016e7f | -| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `SNIID` | *string* | :heavy_check_mark: | ID of the SNI to lookup | 64c17a1a-b7d7-4a65-a5a4-42e4a7016e7f | +| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager. | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | \ No newline at end of file diff --git a/docs/models/operations/getsniwithcertificaterequest.md b/docs/models/operations/getsniwithcertificaterequest.md index 1c05771..d1dbcd8 100644 --- a/docs/models/operations/getsniwithcertificaterequest.md +++ b/docs/models/operations/getsniwithcertificaterequest.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | -| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | -| `CertificateID` | *string* | :heavy_check_mark: | ID of the Certificate to lookup | ddf3cdaa-3329-4961-822a-ce6dbd38eff7 | -| `SNIID` | *string* | :heavy_check_mark: | ID of the SNI to lookup | 64c17a1a-b7d7-4a65-a5a4-42e4a7016e7f | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager. | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | +| `CertificateID` | *string* | :heavy_check_mark: | ID of the Certificate to lookup | ddf3cdaa-3329-4961-822a-ce6dbd38eff7 | +| `SNIID` | *string* | :heavy_check_mark: | ID of the SNI to lookup | 64c17a1a-b7d7-4a65-a5a4-42e4a7016e7f | \ No newline at end of file diff --git a/docs/models/operations/gettargetwithupstreamrequest.md b/docs/models/operations/gettargetwithupstreamrequest.md index 0a7dd75..3683844 100644 --- a/docs/models/operations/gettargetwithupstreamrequest.md +++ b/docs/models/operations/gettargetwithupstreamrequest.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | -| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | -| `UpstreamIDForTarget` | *string* | :heavy_check_mark: | ID or target of the Target to lookup | 5a078780-5d4c-4aae-984a-bdc6f52113d8 | -| `TargetID` | *string* | :heavy_check_mark: | ID of the Target to lookup | 5a078780-5d4c-4aae-984a-bdc6f52113d8 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager. | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | +| `UpstreamIDForTarget` | *string* | :heavy_check_mark: | ID or target of the Target to lookup | 5a078780-5d4c-4aae-984a-bdc6f52113d8 | +| `TargetID` | *string* | :heavy_check_mark: | ID of the Target to lookup | 5a078780-5d4c-4aae-984a-bdc6f52113d8 | \ No newline at end of file diff --git a/docs/models/operations/getupstreamrequest.md b/docs/models/operations/getupstreamrequest.md index 307d4ef..45c799b 100644 --- a/docs/models/operations/getupstreamrequest.md +++ b/docs/models/operations/getupstreamrequest.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | -| `UpstreamID` | *string* | :heavy_check_mark: | ID of the Upstream to lookup | 426d620c-7058-4ae6-aacc-f85a3204a2c5 | -| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `UpstreamID` | *string* | :heavy_check_mark: | ID of the Upstream to lookup | 426d620c-7058-4ae6-aacc-f85a3204a2c5 | +| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager. | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | \ No newline at end of file diff --git a/docs/models/operations/getvaultrequest.md b/docs/models/operations/getvaultrequest.md index b7b6d93..1884da9 100644 --- a/docs/models/operations/getvaultrequest.md +++ b/docs/models/operations/getvaultrequest.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | -| `VaultID` | *string* | :heavy_check_mark: | ID of the Vault to lookup | 9d4d6d19-77c6-428e-a965-9bc9647633e9 | -| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `VaultID` | *string* | :heavy_check_mark: | ID of the Vault to lookup | 9d4d6d19-77c6-428e-a965-9bc9647633e9 | +| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager. | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | \ No newline at end of file diff --git a/docs/models/operations/listaclrequest.md b/docs/models/operations/listaclrequest.md index ca2d6ba..d3189c5 100644 --- a/docs/models/operations/listaclrequest.md +++ b/docs/models/operations/listaclrequest.md @@ -5,7 +5,7 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | +| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager. | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | | `Size` | **int64* | :heavy_minus_sign: | Number of resources to be returned. | | | `Offset` | **string* | :heavy_minus_sign: | Offset from which to return the next set of resources. Use the value of the 'offset' field from the response of a list operation as input here to paginate through all the resources | | | `Tags` | **string* | :heavy_minus_sign: | A list of tags to filter the list of resources on. Multiple tags can be concatenated using ',' to mean AND or using '/' to mean OR. | tag1,tag2 | \ No newline at end of file diff --git a/docs/models/operations/listaclwithconsumerrequest.md b/docs/models/operations/listaclwithconsumerrequest.md index 10df6a2..8c05110 100644 --- a/docs/models/operations/listaclwithconsumerrequest.md +++ b/docs/models/operations/listaclwithconsumerrequest.md @@ -5,7 +5,7 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | +| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager. | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | | `ConsumerIDForNestedEntities` | *string* | :heavy_check_mark: | Consumer ID for nested entities | f28acbfa-c866-4587-b688-0208ac24df21 | | `Size` | **int64* | :heavy_minus_sign: | Number of resources to be returned. | | | `Offset` | **string* | :heavy_minus_sign: | Offset from which to return the next set of resources. Use the value of the 'offset' field from the response of a list operation as input here to paginate through all the resources | | diff --git a/docs/models/operations/listbasicauthrequest.md b/docs/models/operations/listbasicauthrequest.md index 5333125..d1dcc0b 100644 --- a/docs/models/operations/listbasicauthrequest.md +++ b/docs/models/operations/listbasicauthrequest.md @@ -5,7 +5,7 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | +| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager. | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | | `Size` | **int64* | :heavy_minus_sign: | Number of resources to be returned. | | | `Offset` | **string* | :heavy_minus_sign: | Offset from which to return the next set of resources. Use the value of the 'offset' field from the response of a list operation as input here to paginate through all the resources | | | `Tags` | **string* | :heavy_minus_sign: | A list of tags to filter the list of resources on. Multiple tags can be concatenated using ',' to mean AND or using '/' to mean OR. | tag1,tag2 | \ No newline at end of file diff --git a/docs/models/operations/listbasicauthwithconsumerrequest.md b/docs/models/operations/listbasicauthwithconsumerrequest.md index 079719c..9410e13 100644 --- a/docs/models/operations/listbasicauthwithconsumerrequest.md +++ b/docs/models/operations/listbasicauthwithconsumerrequest.md @@ -5,7 +5,7 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | +| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager. | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | | `ConsumerIDForNestedEntities` | *string* | :heavy_check_mark: | Consumer ID for nested entities | f28acbfa-c866-4587-b688-0208ac24df21 | | `Size` | **int64* | :heavy_minus_sign: | Number of resources to be returned. | | | `Offset` | **string* | :heavy_minus_sign: | Offset from which to return the next set of resources. Use the value of the 'offset' field from the response of a list operation as input here to paginate through all the resources | | diff --git a/docs/models/operations/listcacertificaterequest.md b/docs/models/operations/listcacertificaterequest.md index 5a5ea7d..203fc24 100644 --- a/docs/models/operations/listcacertificaterequest.md +++ b/docs/models/operations/listcacertificaterequest.md @@ -5,7 +5,7 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | +| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager. | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | | `Size` | **int64* | :heavy_minus_sign: | Number of resources to be returned. | | | `Offset` | **string* | :heavy_minus_sign: | Offset from which to return the next set of resources. Use the value of the 'offset' field from the response of a list operation as input here to paginate through all the resources | | | `Tags` | **string* | :heavy_minus_sign: | A list of tags to filter the list of resources on. Multiple tags can be concatenated using ',' to mean AND or using '/' to mean OR. | tag1,tag2 | \ No newline at end of file diff --git a/docs/models/operations/listcertificaterequest.md b/docs/models/operations/listcertificaterequest.md index 362f7b4..5ab76d0 100644 --- a/docs/models/operations/listcertificaterequest.md +++ b/docs/models/operations/listcertificaterequest.md @@ -5,7 +5,7 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | +| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager. | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | | `Size` | **int64* | :heavy_minus_sign: | Number of resources to be returned. | | | `Offset` | **string* | :heavy_minus_sign: | Offset from which to return the next set of resources. Use the value of the 'offset' field from the response of a list operation as input here to paginate through all the resources | | | `Tags` | **string* | :heavy_minus_sign: | A list of tags to filter the list of resources on. Multiple tags can be concatenated using ',' to mean AND or using '/' to mean OR. | tag1,tag2 | \ No newline at end of file diff --git a/docs/models/operations/listconsumergrouprequest.md b/docs/models/operations/listconsumergrouprequest.md index c7733df..3ab8558 100644 --- a/docs/models/operations/listconsumergrouprequest.md +++ b/docs/models/operations/listconsumergrouprequest.md @@ -5,7 +5,7 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | +| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager. | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | | `Size` | **int64* | :heavy_minus_sign: | Number of resources to be returned. | | | `Offset` | **string* | :heavy_minus_sign: | Offset from which to return the next set of resources. Use the value of the 'offset' field from the response of a list operation as input here to paginate through all the resources | | | `Tags` | **string* | :heavy_minus_sign: | A list of tags to filter the list of resources on. Multiple tags can be concatenated using ',' to mean AND or using '/' to mean OR. | tag1,tag2 | \ No newline at end of file diff --git a/docs/models/operations/listconsumergroupsforconsumerrequest.md b/docs/models/operations/listconsumergroupsforconsumerrequest.md index 745f9cc..59721cc 100644 --- a/docs/models/operations/listconsumergroupsforconsumerrequest.md +++ b/docs/models/operations/listconsumergroupsforconsumerrequest.md @@ -5,7 +5,7 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | +| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager. | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | | `ConsumerID` | *string* | :heavy_check_mark: | ID of the Consumer to lookup | c1059869-6fa7-4329-a5f5-5946d14ca2c5 | | `Size` | **int64* | :heavy_minus_sign: | Number of resources to be returned. | | | `Offset` | **string* | :heavy_minus_sign: | Offset from which to return the next set of resources. Use the value of the 'offset' field from the response of a list operation as input here to paginate through all the resources | | diff --git a/docs/models/operations/listconsumerrequest.md b/docs/models/operations/listconsumerrequest.md index e4bebac..c429cd7 100644 --- a/docs/models/operations/listconsumerrequest.md +++ b/docs/models/operations/listconsumerrequest.md @@ -5,7 +5,7 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | +| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager. | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | | `Size` | **int64* | :heavy_minus_sign: | Number of resources to be returned. | | | `Offset` | **string* | :heavy_minus_sign: | Offset from which to return the next set of resources. Use the value of the 'offset' field from the response of a list operation as input here to paginate through all the resources | | | `Tags` | **string* | :heavy_minus_sign: | A list of tags to filter the list of resources on. Multiple tags can be concatenated using ',' to mean AND or using '/' to mean OR. | tag1,tag2 | \ No newline at end of file diff --git a/docs/models/operations/listdataplanenodesrequest.md b/docs/models/operations/listdataplanenodesrequest.md index 8fa826b..4c9ae2a 100644 --- a/docs/models/operations/listdataplanenodesrequest.md +++ b/docs/models/operations/listdataplanenodesrequest.md @@ -5,6 +5,6 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | -| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | +| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager. | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | | `PageSize` | **int64* | :heavy_minus_sign: | The maximum number of items to include per page. The last page of a collection may include fewer items. | 10 | | `PageAfter` | **string* | :heavy_minus_sign: | Request the next page of data, starting with the item after this parameter. | ewogICJpZCI6ICJoZWxsbyB3b3JsZCIKfQ | \ No newline at end of file diff --git a/docs/models/operations/listdpclientcertificatesrequest.md b/docs/models/operations/listdpclientcertificatesrequest.md index 0638f7b..1663454 100644 --- a/docs/models/operations/listdpclientcertificatesrequest.md +++ b/docs/models/operations/listdpclientcertificatesrequest.md @@ -3,6 +3,6 @@ ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | -| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager. | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | \ No newline at end of file diff --git a/docs/models/operations/listhmacauthrequest.md b/docs/models/operations/listhmacauthrequest.md index 9a2bbe3..2b7e7df 100644 --- a/docs/models/operations/listhmacauthrequest.md +++ b/docs/models/operations/listhmacauthrequest.md @@ -5,7 +5,7 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | +| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager. | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | | `Size` | **int64* | :heavy_minus_sign: | Number of resources to be returned. | | | `Offset` | **string* | :heavy_minus_sign: | Offset from which to return the next set of resources. Use the value of the 'offset' field from the response of a list operation as input here to paginate through all the resources | | | `Tags` | **string* | :heavy_minus_sign: | A list of tags to filter the list of resources on. Multiple tags can be concatenated using ',' to mean AND or using '/' to mean OR. | tag1,tag2 | \ No newline at end of file diff --git a/docs/models/operations/listhmacauthwithconsumerrequest.md b/docs/models/operations/listhmacauthwithconsumerrequest.md index 1c895ab..d7a7ade 100644 --- a/docs/models/operations/listhmacauthwithconsumerrequest.md +++ b/docs/models/operations/listhmacauthwithconsumerrequest.md @@ -5,7 +5,7 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | +| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager. | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | | `ConsumerIDForNestedEntities` | *string* | :heavy_check_mark: | Consumer ID for nested entities | f28acbfa-c866-4587-b688-0208ac24df21 | | `Size` | **int64* | :heavy_minus_sign: | Number of resources to be returned. | | | `Offset` | **string* | :heavy_minus_sign: | Offset from which to return the next set of resources. Use the value of the 'offset' field from the response of a list operation as input here to paginate through all the resources | | diff --git a/docs/models/operations/listjwtrequest.md b/docs/models/operations/listjwtrequest.md index 915b0bd..86e5bc2 100644 --- a/docs/models/operations/listjwtrequest.md +++ b/docs/models/operations/listjwtrequest.md @@ -5,7 +5,7 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | +| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager. | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | | `Size` | **int64* | :heavy_minus_sign: | Number of resources to be returned. | | | `Offset` | **string* | :heavy_minus_sign: | Offset from which to return the next set of resources. Use the value of the 'offset' field from the response of a list operation as input here to paginate through all the resources | | | `Tags` | **string* | :heavy_minus_sign: | A list of tags to filter the list of resources on. Multiple tags can be concatenated using ',' to mean AND or using '/' to mean OR. | tag1,tag2 | \ No newline at end of file diff --git a/docs/models/operations/listjwtwithconsumerrequest.md b/docs/models/operations/listjwtwithconsumerrequest.md index ff9cdae..4bcfd09 100644 --- a/docs/models/operations/listjwtwithconsumerrequest.md +++ b/docs/models/operations/listjwtwithconsumerrequest.md @@ -5,7 +5,7 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | +| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager. | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | | `ConsumerIDForNestedEntities` | *string* | :heavy_check_mark: | Consumer ID for nested entities | f28acbfa-c866-4587-b688-0208ac24df21 | | `Size` | **int64* | :heavy_minus_sign: | Number of resources to be returned. | | | `Offset` | **string* | :heavy_minus_sign: | Offset from which to return the next set of resources. Use the value of the 'offset' field from the response of a list operation as input here to paginate through all the resources | | diff --git a/docs/models/operations/listkeyauthrequest.md b/docs/models/operations/listkeyauthrequest.md index a2d159d..7c066a4 100644 --- a/docs/models/operations/listkeyauthrequest.md +++ b/docs/models/operations/listkeyauthrequest.md @@ -5,7 +5,7 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | +| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager. | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | | `Size` | **int64* | :heavy_minus_sign: | Number of resources to be returned. | | | `Offset` | **string* | :heavy_minus_sign: | Offset from which to return the next set of resources. Use the value of the 'offset' field from the response of a list operation as input here to paginate through all the resources | | | `Tags` | **string* | :heavy_minus_sign: | A list of tags to filter the list of resources on. Multiple tags can be concatenated using ',' to mean AND or using '/' to mean OR. | tag1,tag2 | \ No newline at end of file diff --git a/docs/models/operations/listkeyauthwithconsumerrequest.md b/docs/models/operations/listkeyauthwithconsumerrequest.md index 9835be3..40a9ee3 100644 --- a/docs/models/operations/listkeyauthwithconsumerrequest.md +++ b/docs/models/operations/listkeyauthwithconsumerrequest.md @@ -5,7 +5,7 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | +| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager. | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | | `ConsumerIDForNestedEntities` | *string* | :heavy_check_mark: | Consumer ID for nested entities | f28acbfa-c866-4587-b688-0208ac24df21 | | `Size` | **int64* | :heavy_minus_sign: | Number of resources to be returned. | | | `Offset` | **string* | :heavy_minus_sign: | Offset from which to return the next set of resources. Use the value of the 'offset' field from the response of a list operation as input here to paginate through all the resources | | diff --git a/docs/models/operations/listkeyrequest.md b/docs/models/operations/listkeyrequest.md index ba4b0af..4c3b128 100644 --- a/docs/models/operations/listkeyrequest.md +++ b/docs/models/operations/listkeyrequest.md @@ -5,7 +5,7 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | +| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager. | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | | `Size` | **int64* | :heavy_minus_sign: | Number of resources to be returned. | | | `Offset` | **string* | :heavy_minus_sign: | Offset from which to return the next set of resources. Use the value of the 'offset' field from the response of a list operation as input here to paginate through all the resources | | | `Tags` | **string* | :heavy_minus_sign: | A list of tags to filter the list of resources on. Multiple tags can be concatenated using ',' to mean AND or using '/' to mean OR. | tag1,tag2 | \ No newline at end of file diff --git a/docs/models/operations/listkeysetrequest.md b/docs/models/operations/listkeysetrequest.md index ba389b0..0d1c1ae 100644 --- a/docs/models/operations/listkeysetrequest.md +++ b/docs/models/operations/listkeysetrequest.md @@ -5,7 +5,7 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | +| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager. | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | | `Size` | **int64* | :heavy_minus_sign: | Number of resources to be returned. | | | `Offset` | **string* | :heavy_minus_sign: | Offset from which to return the next set of resources. Use the value of the 'offset' field from the response of a list operation as input here to paginate through all the resources | | | `Tags` | **string* | :heavy_minus_sign: | A list of tags to filter the list of resources on. Multiple tags can be concatenated using ',' to mean AND or using '/' to mean OR. | tag1,tag2 | \ No newline at end of file diff --git a/docs/models/operations/listpluginrequest.md b/docs/models/operations/listpluginrequest.md index ce1d50e..7e046d6 100644 --- a/docs/models/operations/listpluginrequest.md +++ b/docs/models/operations/listpluginrequest.md @@ -5,7 +5,7 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | +| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager. | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | | `Size` | **int64* | :heavy_minus_sign: | Number of resources to be returned. | | | `Offset` | **string* | :heavy_minus_sign: | Offset from which to return the next set of resources. Use the value of the 'offset' field from the response of a list operation as input here to paginate through all the resources | | | `Tags` | **string* | :heavy_minus_sign: | A list of tags to filter the list of resources on. Multiple tags can be concatenated using ',' to mean AND or using '/' to mean OR. | tag1,tag2 | \ No newline at end of file diff --git a/docs/models/operations/listpluginschemasrequest.md b/docs/models/operations/listpluginschemasrequest.md index 5a35b4d..c9d0909 100644 --- a/docs/models/operations/listpluginschemasrequest.md +++ b/docs/models/operations/listpluginschemasrequest.md @@ -5,6 +5,6 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | -| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | +| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager. | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | | `PageSize` | **int64* | :heavy_minus_sign: | The maximum number of items to include per page. The last page of a collection may include fewer items. | 10 | | `PageAfter` | **string* | :heavy_minus_sign: | Request the next page of data, starting with the item after this parameter. | ewogICJpZCI6ICJoZWxsbyB3b3JsZCIKfQ | \ No newline at end of file diff --git a/docs/models/operations/listpluginwithrouterequest.md b/docs/models/operations/listpluginwithrouterequest.md index 2fa1cb4..25bb341 100644 --- a/docs/models/operations/listpluginwithrouterequest.md +++ b/docs/models/operations/listpluginwithrouterequest.md @@ -5,7 +5,7 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | +| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager. | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | | `RouteID` | *string* | :heavy_check_mark: | ID of the Route to lookup | a4326a41-aa12-44e3-93e4-6b6e58bfb9d7 | | `Size` | **int64* | :heavy_minus_sign: | Number of resources to be returned. | | | `Offset` | **string* | :heavy_minus_sign: | Offset from which to return the next set of resources. Use the value of the 'offset' field from the response of a list operation as input here to paginate through all the resources | | diff --git a/docs/models/operations/listpluginwithservicerequest.md b/docs/models/operations/listpluginwithservicerequest.md index 5ac831d..dde3c6a 100644 --- a/docs/models/operations/listpluginwithservicerequest.md +++ b/docs/models/operations/listpluginwithservicerequest.md @@ -5,7 +5,7 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | +| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager. | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | | `ServiceID` | *string* | :heavy_check_mark: | ID of the Service to lookup | 7fca84d6-7d37-4a74-a7b0-93e576089a41 | | `Size` | **int64* | :heavy_minus_sign: | Number of resources to be returned. | | | `Offset` | **string* | :heavy_minus_sign: | Offset from which to return the next set of resources. Use the value of the 'offset' field from the response of a list operation as input here to paginate through all the resources | | diff --git a/docs/models/operations/listrouterequest.md b/docs/models/operations/listrouterequest.md index 2371356..6a9aebf 100644 --- a/docs/models/operations/listrouterequest.md +++ b/docs/models/operations/listrouterequest.md @@ -5,7 +5,7 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | +| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager. | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | | `Size` | **int64* | :heavy_minus_sign: | Number of resources to be returned. | | | `Offset` | **string* | :heavy_minus_sign: | Offset from which to return the next set of resources. Use the value of the 'offset' field from the response of a list operation as input here to paginate through all the resources | | | `Tags` | **string* | :heavy_minus_sign: | A list of tags to filter the list of resources on. Multiple tags can be concatenated using ',' to mean AND or using '/' to mean OR. | tag1,tag2 | \ No newline at end of file diff --git a/docs/models/operations/listroutewithservicerequest.md b/docs/models/operations/listroutewithservicerequest.md index 7b264ad..9a60ae7 100644 --- a/docs/models/operations/listroutewithservicerequest.md +++ b/docs/models/operations/listroutewithservicerequest.md @@ -5,7 +5,7 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | +| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager. | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | | `ServiceID` | *string* | :heavy_check_mark: | ID of the Service to lookup | 7fca84d6-7d37-4a74-a7b0-93e576089a41 | | `Size` | **int64* | :heavy_minus_sign: | Number of resources to be returned. | | | `Offset` | **string* | :heavy_minus_sign: | Offset from which to return the next set of resources. Use the value of the 'offset' field from the response of a list operation as input here to paginate through all the resources | | diff --git a/docs/models/operations/listserverlesscloudgatewayrequest.md b/docs/models/operations/listserverlesscloudgatewayrequest.md deleted file mode 100644 index 275c31b..0000000 --- a/docs/models/operations/listserverlesscloudgatewayrequest.md +++ /dev/null @@ -1,10 +0,0 @@ -# ListServerlessCloudGatewayRequest - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | -| `PageSize` | **int64* | :heavy_minus_sign: | The maximum number of items to include per page. The last page of a collection may include fewer items. | 10 | -| `PageNumber` | **int64* | :heavy_minus_sign: | Determines which page of the entities to retrieve. | 1 | -| `Labels` | **string* | :heavy_minus_sign: | Filter serverless cloud gateways in the response by associated labels. | filter[labels][eq]=env:prod | \ No newline at end of file diff --git a/docs/models/operations/listserverlesscloudgatewayresponse.md b/docs/models/operations/listserverlesscloudgatewayresponse.md deleted file mode 100644 index 4dec99d..0000000 --- a/docs/models/operations/listserverlesscloudgatewayresponse.md +++ /dev/null @@ -1,11 +0,0 @@ -# ListServerlessCloudGatewayResponse - - -## Fields - -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | -| `ContentType` | *string* | :heavy_check_mark: | HTTP response content type for this operation | -| `StatusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation | -| `RawResponse` | [*http.Response](https://pkg.go.dev/net/http#Response) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | -| `ListServerlessCloudGatewaysResponse` | [*components.ListServerlessCloudGatewaysResponse](../../models/components/listserverlesscloudgatewaysresponse.md) | :heavy_minus_sign: | A paginated list response for a collection of serverless cloud gateways. | \ No newline at end of file diff --git a/docs/models/operations/listservicerequest.md b/docs/models/operations/listservicerequest.md index c5abd87..801d64c 100644 --- a/docs/models/operations/listservicerequest.md +++ b/docs/models/operations/listservicerequest.md @@ -5,7 +5,7 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | +| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager. | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | | `Size` | **int64* | :heavy_minus_sign: | Number of resources to be returned. | | | `Offset` | **string* | :heavy_minus_sign: | Offset from which to return the next set of resources. Use the value of the 'offset' field from the response of a list operation as input here to paginate through all the resources | | | `Tags` | **string* | :heavy_minus_sign: | A list of tags to filter the list of resources on. Multiple tags can be concatenated using ',' to mean AND or using '/' to mean OR. | tag1,tag2 | \ No newline at end of file diff --git a/docs/models/operations/listsnirequest.md b/docs/models/operations/listsnirequest.md index 56e7fca..7e8d33c 100644 --- a/docs/models/operations/listsnirequest.md +++ b/docs/models/operations/listsnirequest.md @@ -5,7 +5,7 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | +| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager. | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | | `Size` | **int64* | :heavy_minus_sign: | Number of resources to be returned. | | | `Offset` | **string* | :heavy_minus_sign: | Offset from which to return the next set of resources. Use the value of the 'offset' field from the response of a list operation as input here to paginate through all the resources | | | `Tags` | **string* | :heavy_minus_sign: | A list of tags to filter the list of resources on. Multiple tags can be concatenated using ',' to mean AND or using '/' to mean OR. | tag1,tag2 | \ No newline at end of file diff --git a/docs/models/operations/listsniwithcertificaterequest.md b/docs/models/operations/listsniwithcertificaterequest.md index c666431..dfe95fb 100644 --- a/docs/models/operations/listsniwithcertificaterequest.md +++ b/docs/models/operations/listsniwithcertificaterequest.md @@ -5,7 +5,7 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | +| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager. | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | | `CertificateID` | *string* | :heavy_check_mark: | ID of the Certificate to lookup | ddf3cdaa-3329-4961-822a-ce6dbd38eff7 | | `Size` | **int64* | :heavy_minus_sign: | Number of resources to be returned. | | | `Offset` | **string* | :heavy_minus_sign: | Offset from which to return the next set of resources. Use the value of the 'offset' field from the response of a list operation as input here to paginate through all the resources | | diff --git a/docs/models/operations/listtargetwithupstreamrequest.md b/docs/models/operations/listtargetwithupstreamrequest.md index c051774..f6bf4b5 100644 --- a/docs/models/operations/listtargetwithupstreamrequest.md +++ b/docs/models/operations/listtargetwithupstreamrequest.md @@ -5,7 +5,7 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | +| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager. | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | | `UpstreamIDForTarget` | *string* | :heavy_check_mark: | ID or target of the Target to lookup | 5a078780-5d4c-4aae-984a-bdc6f52113d8 | | `Size` | **int64* | :heavy_minus_sign: | Number of resources to be returned. | | | `Offset` | **string* | :heavy_minus_sign: | Offset from which to return the next set of resources. Use the value of the 'offset' field from the response of a list operation as input here to paginate through all the resources | | diff --git a/docs/models/operations/listupstreamrequest.md b/docs/models/operations/listupstreamrequest.md index c9ccae8..db253a7 100644 --- a/docs/models/operations/listupstreamrequest.md +++ b/docs/models/operations/listupstreamrequest.md @@ -5,7 +5,7 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | +| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager. | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | | `Size` | **int64* | :heavy_minus_sign: | Number of resources to be returned. | | | `Offset` | **string* | :heavy_minus_sign: | Offset from which to return the next set of resources. Use the value of the 'offset' field from the response of a list operation as input here to paginate through all the resources | | | `Tags` | **string* | :heavy_minus_sign: | A list of tags to filter the list of resources on. Multiple tags can be concatenated using ',' to mean AND or using '/' to mean OR. | tag1,tag2 | \ No newline at end of file diff --git a/docs/models/operations/listvaultrequest.md b/docs/models/operations/listvaultrequest.md index 8eaa13d..47e66a9 100644 --- a/docs/models/operations/listvaultrequest.md +++ b/docs/models/operations/listvaultrequest.md @@ -5,7 +5,7 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | +| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager. | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | | `Size` | **int64* | :heavy_minus_sign: | Number of resources to be returned. | | | `Offset` | **string* | :heavy_minus_sign: | Offset from which to return the next set of resources. Use the value of the 'offset' field from the response of a list operation as input here to paginate through all the resources | | | `Tags` | **string* | :heavy_minus_sign: | A list of tags to filter the list of resources on. Multiple tags can be concatenated using ',' to mean AND or using '/' to mean OR. | tag1,tag2 | \ No newline at end of file diff --git a/docs/models/operations/putcontrolplanesidgroupmembershipsrequest.md b/docs/models/operations/putcontrolplanesidgroupmembershipsrequest.md new file mode 100644 index 0000000..582ecb3 --- /dev/null +++ b/docs/models/operations/putcontrolplanesidgroupmembershipsrequest.md @@ -0,0 +1,9 @@ +# PutControlPlanesIDGroupMembershipsRequest + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | +| `ID` | *string* | :heavy_check_mark: | ID of a control plane group | +| `GroupMembership` | [*components.GroupMembership](../../models/components/groupmembership.md) | :heavy_minus_sign: | Request body for upserting a list of child control planes to a control plane group membership. | \ No newline at end of file diff --git a/docs/models/operations/deleteserverlesscloudgatewayresponse.md b/docs/models/operations/putcontrolplanesidgroupmembershipsresponse.md similarity index 96% rename from docs/models/operations/deleteserverlesscloudgatewayresponse.md rename to docs/models/operations/putcontrolplanesidgroupmembershipsresponse.md index 5b68b27..c579450 100644 --- a/docs/models/operations/deleteserverlesscloudgatewayresponse.md +++ b/docs/models/operations/putcontrolplanesidgroupmembershipsresponse.md @@ -1,4 +1,4 @@ -# DeleteServerlessCloudGatewayResponse +# PutControlPlanesIDGroupMembershipsResponse ## Fields diff --git a/docs/models/operations/removeconsumerfromgrouprequest.md b/docs/models/operations/removeconsumerfromgrouprequest.md index ce8ea1d..ce0f071 100644 --- a/docs/models/operations/removeconsumerfromgrouprequest.md +++ b/docs/models/operations/removeconsumerfromgrouprequest.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | -| `ConsumerGroupID` | *string* | :heavy_check_mark: | N/A | | -| `ConsumerID` | *string* | :heavy_check_mark: | N/A | | -| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `ConsumerGroupID` | *string* | :heavy_check_mark: | N/A | | +| `ConsumerID` | *string* | :heavy_check_mark: | N/A | | +| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager. | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | \ No newline at end of file diff --git a/docs/models/operations/updatepluginschemasrequest.md b/docs/models/operations/updatepluginschemasrequest.md index 288b8af..bd6c0e8 100644 --- a/docs/models/operations/updatepluginschemasrequest.md +++ b/docs/models/operations/updatepluginschemasrequest.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | -| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | -| `Name` | *string* | :heavy_check_mark: | The custom plugin name | myplugin | -| `CreatePluginSchemas` | [*components.CreatePluginSchemas](../../models/components/createpluginschemas.md) | :heavy_minus_sign: | N/A | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager. | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | +| `Name` | *string* | :heavy_check_mark: | The custom plugin name | myplugin | +| `CreatePluginSchemas` | [*components.CreatePluginSchemas](../../models/components/createpluginschemas.md) | :heavy_minus_sign: | N/A | | \ No newline at end of file diff --git a/docs/models/operations/upsertaclwithconsumerrequest.md b/docs/models/operations/upsertaclwithconsumerrequest.md index a4e52fd..c88ab0b 100644 --- a/docs/models/operations/upsertaclwithconsumerrequest.md +++ b/docs/models/operations/upsertaclwithconsumerrequest.md @@ -3,9 +3,9 @@ ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | -| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | -| `ConsumerIDForNestedEntities` | *string* | :heavy_check_mark: | Consumer ID for nested entities | f28acbfa-c866-4587-b688-0208ac24df21 | -| `ACLID` | *string* | :heavy_check_mark: | ID of the ACL to lookup | f28acbfa-c866-4587-b688-0208ac24df21 | -| `ACLWithoutParents` | [components.ACLWithoutParents](../../models/components/aclwithoutparents.md) | :heavy_check_mark: | Description of the ACL | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager. | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | +| `ConsumerIDForNestedEntities` | *string* | :heavy_check_mark: | Consumer ID for nested entities | f28acbfa-c866-4587-b688-0208ac24df21 | +| `ACLID` | *string* | :heavy_check_mark: | ID of the ACL to lookup | f28acbfa-c866-4587-b688-0208ac24df21 | +| `ACLWithoutParents` | [components.ACLWithoutParents](../../models/components/aclwithoutparents.md) | :heavy_check_mark: | Description of the ACL | | \ No newline at end of file diff --git a/docs/models/operations/upsertbasicauthwithconsumerrequest.md b/docs/models/operations/upsertbasicauthwithconsumerrequest.md index 5529996..ab438f8 100644 --- a/docs/models/operations/upsertbasicauthwithconsumerrequest.md +++ b/docs/models/operations/upsertbasicauthwithconsumerrequest.md @@ -5,7 +5,7 @@ | Field | Type | Required | Description | Example | | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | -| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | +| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager. | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | | `ConsumerIDForNestedEntities` | *string* | :heavy_check_mark: | Consumer ID for nested entities | f28acbfa-c866-4587-b688-0208ac24df21 | | `BasicAuthID` | *string* | :heavy_check_mark: | ID of the Basic-auth credential to lookup | 80db1b58-ca7c-4d21-b92a-64eb07725872 | | `BasicAuthWithoutParents` | [components.BasicAuthWithoutParents](../../models/components/basicauthwithoutparents.md) | :heavy_check_mark: | Description of the Basic-auth credential | | \ No newline at end of file diff --git a/docs/models/operations/upsertcacertificaterequest.md b/docs/models/operations/upsertcacertificaterequest.md index 8d5cb39..5605251 100644 --- a/docs/models/operations/upsertcacertificaterequest.md +++ b/docs/models/operations/upsertcacertificaterequest.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | -| `CACertificateID` | *string* | :heavy_check_mark: | ID of the CA Certificate to lookup | 3c31f18a-f27a-4f9b-8cd4-bf841554612f | -| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | -| `CACertificate` | [components.CACertificateInput](../../models/components/cacertificateinput.md) | :heavy_check_mark: | Description of the CA Certificate | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `CACertificateID` | *string* | :heavy_check_mark: | ID of the CA Certificate to lookup | 3c31f18a-f27a-4f9b-8cd4-bf841554612f | +| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager. | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | +| `CACertificate` | [components.CACertificateInput](../../models/components/cacertificateinput.md) | :heavy_check_mark: | Description of the CA Certificate | | \ No newline at end of file diff --git a/docs/models/operations/upsertcertificaterequest.md b/docs/models/operations/upsertcertificaterequest.md index 11e64d5..b563e12 100644 --- a/docs/models/operations/upsertcertificaterequest.md +++ b/docs/models/operations/upsertcertificaterequest.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | -| `CertificateID` | *string* | :heavy_check_mark: | ID of the Certificate to lookup | ddf3cdaa-3329-4961-822a-ce6dbd38eff7 | -| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | -| `Certificate` | [components.CertificateInput](../../models/components/certificateinput.md) | :heavy_check_mark: | Description of the Certificate | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `CertificateID` | *string* | :heavy_check_mark: | ID of the Certificate to lookup | ddf3cdaa-3329-4961-822a-ce6dbd38eff7 | +| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager. | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | +| `Certificate` | [components.CertificateInput](../../models/components/certificateinput.md) | :heavy_check_mark: | Description of the Certificate | | \ No newline at end of file diff --git a/docs/models/operations/upsertconsumergrouprequest.md b/docs/models/operations/upsertconsumergrouprequest.md index 5223fb3..ad7aef0 100644 --- a/docs/models/operations/upsertconsumergrouprequest.md +++ b/docs/models/operations/upsertconsumergrouprequest.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | -| `ConsumerGroupID` | *string* | :heavy_check_mark: | ID of the Consumer Group to lookup | | -| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | -| `ConsumerGroup` | [components.ConsumerGroupInput](../../models/components/consumergroupinput.md) | :heavy_check_mark: | Description of the Consumer Group | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `ConsumerGroupID` | *string* | :heavy_check_mark: | ID of the Consumer Group to lookup | | +| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager. | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | +| `ConsumerGroup` | [components.ConsumerGroupInput](../../models/components/consumergroupinput.md) | :heavy_check_mark: | Description of the Consumer Group | | \ No newline at end of file diff --git a/docs/models/operations/upsertconsumerrequest.md b/docs/models/operations/upsertconsumerrequest.md index b2e32be..98a3e3f 100644 --- a/docs/models/operations/upsertconsumerrequest.md +++ b/docs/models/operations/upsertconsumerrequest.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | -| `ConsumerID` | *string* | :heavy_check_mark: | ID of the Consumer to lookup | c1059869-6fa7-4329-a5f5-5946d14ca2c5 | -| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | -| `Consumer` | [components.ConsumerInput](../../models/components/consumerinput.md) | :heavy_check_mark: | Description of the Consumer | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `ConsumerID` | *string* | :heavy_check_mark: | ID of the Consumer to lookup | c1059869-6fa7-4329-a5f5-5946d14ca2c5 | +| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager. | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | +| `Consumer` | [components.ConsumerInput](../../models/components/consumerinput.md) | :heavy_check_mark: | Description of the Consumer | | \ No newline at end of file diff --git a/docs/models/operations/upserthmacauthwithconsumerrequest.md b/docs/models/operations/upserthmacauthwithconsumerrequest.md index ae5e782..5cfad39 100644 --- a/docs/models/operations/upserthmacauthwithconsumerrequest.md +++ b/docs/models/operations/upserthmacauthwithconsumerrequest.md @@ -5,7 +5,7 @@ | Field | Type | Required | Description | Example | | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | +| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager. | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | | `ConsumerIDForNestedEntities` | *string* | :heavy_check_mark: | Consumer ID for nested entities | f28acbfa-c866-4587-b688-0208ac24df21 | | `HMACAuthID` | *string* | :heavy_check_mark: | ID of the HMAC-auth credential to lookup | 70e7b00b-72f2-471b-a5ce-9c4171775360 | | `HMACAuthWithoutParents` | [components.HMACAuthWithoutParents](../../models/components/hmacauthwithoutparents.md) | :heavy_check_mark: | Description of the HMAC-auth credential | | \ No newline at end of file diff --git a/docs/models/operations/upsertjwtwithconsumerrequest.md b/docs/models/operations/upsertjwtwithconsumerrequest.md index 55f92b0..761f4cd 100644 --- a/docs/models/operations/upsertjwtwithconsumerrequest.md +++ b/docs/models/operations/upsertjwtwithconsumerrequest.md @@ -3,9 +3,9 @@ ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | -| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | -| `ConsumerIDForNestedEntities` | *string* | :heavy_check_mark: | Consumer ID for nested entities | f28acbfa-c866-4587-b688-0208ac24df21 | -| `JWTID` | *string* | :heavy_check_mark: | ID of the JWT to lookup | 4a7f5faa-8c96-46d6-8214-c87573ef2ac4 | -| `JWTWithoutParents` | [components.JWTWithoutParents](../../models/components/jwtwithoutparents.md) | :heavy_check_mark: | Description of the JWT | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager. | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | +| `ConsumerIDForNestedEntities` | *string* | :heavy_check_mark: | Consumer ID for nested entities | f28acbfa-c866-4587-b688-0208ac24df21 | +| `JWTID` | *string* | :heavy_check_mark: | ID of the JWT to lookup | 4a7f5faa-8c96-46d6-8214-c87573ef2ac4 | +| `JWTWithoutParents` | [components.JWTWithoutParents](../../models/components/jwtwithoutparents.md) | :heavy_check_mark: | Description of the JWT | | \ No newline at end of file diff --git a/docs/models/operations/upsertkeyauthwithconsumerrequest.md b/docs/models/operations/upsertkeyauthwithconsumerrequest.md index 6120d5b..d6ce6fe 100644 --- a/docs/models/operations/upsertkeyauthwithconsumerrequest.md +++ b/docs/models/operations/upsertkeyauthwithconsumerrequest.md @@ -5,7 +5,7 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | -| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | +| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager. | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | | `ConsumerIDForNestedEntities` | *string* | :heavy_check_mark: | Consumer ID for nested entities | f28acbfa-c866-4587-b688-0208ac24df21 | | `KeyAuthID` | *string* | :heavy_check_mark: | ID of the API-key to lookup | | | `KeyAuthWithoutParents` | [components.KeyAuthWithoutParents](../../models/components/keyauthwithoutparents.md) | :heavy_check_mark: | Description of the API-key | | \ No newline at end of file diff --git a/docs/models/operations/upsertkeyrequest.md b/docs/models/operations/upsertkeyrequest.md index b68ad66..6b49f86 100644 --- a/docs/models/operations/upsertkeyrequest.md +++ b/docs/models/operations/upsertkeyrequest.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | -| `KeyID` | *string* | :heavy_check_mark: | ID of the Key to lookup | bba22c06-a632-42be-a018-1b9ff357b5b9 | -| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | -| `Key` | [components.KeyInput](../../models/components/keyinput.md) | :heavy_check_mark: | Description of the Key | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `KeyID` | *string* | :heavy_check_mark: | ID of the Key to lookup | bba22c06-a632-42be-a018-1b9ff357b5b9 | +| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager. | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | +| `Key` | [components.KeyInput](../../models/components/keyinput.md) | :heavy_check_mark: | Description of the Key | | \ No newline at end of file diff --git a/docs/models/operations/upsertkeysetrequest.md b/docs/models/operations/upsertkeysetrequest.md index ee0c012..3a4398f 100644 --- a/docs/models/operations/upsertkeysetrequest.md +++ b/docs/models/operations/upsertkeysetrequest.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | -| `KeySetID` | *string* | :heavy_check_mark: | ID of the KeySet to lookup | 6cc34248-50b4-4a81-9201-3bdf7a83f712 | -| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | -| `KeySet` | [components.KeySetInput](../../models/components/keysetinput.md) | :heavy_check_mark: | Description of the KeySet | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `KeySetID` | *string* | :heavy_check_mark: | ID of the KeySet to lookup | 6cc34248-50b4-4a81-9201-3bdf7a83f712 | +| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager. | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | +| `KeySet` | [components.KeySetInput](../../models/components/keysetinput.md) | :heavy_check_mark: | Description of the KeySet | | \ No newline at end of file diff --git a/docs/models/operations/upsertpluginrequest.md b/docs/models/operations/upsertpluginrequest.md index cc4c6ca..0780a7d 100644 --- a/docs/models/operations/upsertpluginrequest.md +++ b/docs/models/operations/upsertpluginrequest.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | -| `PluginID` | *string* | :heavy_check_mark: | ID of the Plugin to lookup | 3473c251-5b6c-4f45-b1ff-7ede735a366d | -| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | -| `Plugin` | [components.PluginInput](../../models/components/plugininput.md) | :heavy_check_mark: | Description of the Plugin | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `PluginID` | *string* | :heavy_check_mark: | ID of the Plugin to lookup | 3473c251-5b6c-4f45-b1ff-7ede735a366d | +| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager. | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | +| `Plugin` | [components.PluginInput](../../models/components/plugininput.md) | :heavy_check_mark: | Description of the Plugin | | \ No newline at end of file diff --git a/docs/models/operations/upsertpluginwithrouterequest.md b/docs/models/operations/upsertpluginwithrouterequest.md index 2732d33..f9b9a9f 100644 --- a/docs/models/operations/upsertpluginwithrouterequest.md +++ b/docs/models/operations/upsertpluginwithrouterequest.md @@ -5,7 +5,7 @@ | Field | Type | Required | Description | Example | | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | -| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | +| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager. | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | | `RouteID` | *string* | :heavy_check_mark: | ID of the Route to lookup | a4326a41-aa12-44e3-93e4-6b6e58bfb9d7 | | `PluginID` | *string* | :heavy_check_mark: | ID of the Plugin to lookup | 3473c251-5b6c-4f45-b1ff-7ede735a366d | | `PluginWithoutParents` | [components.PluginWithoutParents](../../models/components/pluginwithoutparents.md) | :heavy_check_mark: | Description of the Plugin | | \ No newline at end of file diff --git a/docs/models/operations/upsertpluginwithservicerequest.md b/docs/models/operations/upsertpluginwithservicerequest.md index b19813c..3018729 100644 --- a/docs/models/operations/upsertpluginwithservicerequest.md +++ b/docs/models/operations/upsertpluginwithservicerequest.md @@ -5,7 +5,7 @@ | Field | Type | Required | Description | Example | | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | -| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | +| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager. | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | | `ServiceID` | *string* | :heavy_check_mark: | ID of the Service to lookup | 7fca84d6-7d37-4a74-a7b0-93e576089a41 | | `PluginID` | *string* | :heavy_check_mark: | ID of the Plugin to lookup | 3473c251-5b6c-4f45-b1ff-7ede735a366d | | `PluginWithoutParents` | [components.PluginWithoutParents](../../models/components/pluginwithoutparents.md) | :heavy_check_mark: | Description of the Plugin | | \ No newline at end of file diff --git a/docs/models/operations/upsertrouterequest.md b/docs/models/operations/upsertrouterequest.md index e566b4b..bebf63d 100644 --- a/docs/models/operations/upsertrouterequest.md +++ b/docs/models/operations/upsertrouterequest.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | -| `RouteID` | *string* | :heavy_check_mark: | ID of the Route to lookup | a4326a41-aa12-44e3-93e4-6b6e58bfb9d7 | -| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | -| `Route` | [components.RouteInput](../../models/components/routeinput.md) | :heavy_check_mark: | Description of the Route | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `RouteID` | *string* | :heavy_check_mark: | ID of the Route to lookup | a4326a41-aa12-44e3-93e4-6b6e58bfb9d7 | +| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager. | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | +| `Route` | [components.RouteInput](../../models/components/routeinput.md) | :heavy_check_mark: | Description of the Route | | \ No newline at end of file diff --git a/docs/models/operations/upsertroutewithservicerequest.md b/docs/models/operations/upsertroutewithservicerequest.md index 8294c5e..70e6a26 100644 --- a/docs/models/operations/upsertroutewithservicerequest.md +++ b/docs/models/operations/upsertroutewithservicerequest.md @@ -3,9 +3,9 @@ ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | -| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | -| `ServiceID` | *string* | :heavy_check_mark: | ID of the Service to lookup | 7fca84d6-7d37-4a74-a7b0-93e576089a41 | -| `RouteID` | *string* | :heavy_check_mark: | ID of the Route to lookup | a4326a41-aa12-44e3-93e4-6b6e58bfb9d7 | -| `RouteWithoutParents` | [components.RouteWithoutParents](../../models/components/routewithoutparents.md) | :heavy_check_mark: | Description of the Route | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager. | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | +| `ServiceID` | *string* | :heavy_check_mark: | ID of the Service to lookup | 7fca84d6-7d37-4a74-a7b0-93e576089a41 | +| `RouteID` | *string* | :heavy_check_mark: | ID of the Route to lookup | a4326a41-aa12-44e3-93e4-6b6e58bfb9d7 | +| `RouteWithoutParents` | [components.RouteWithoutParents](../../models/components/routewithoutparents.md) | :heavy_check_mark: | Description of the Route | | \ No newline at end of file diff --git a/docs/models/operations/upsertservicerequest.md b/docs/models/operations/upsertservicerequest.md index b2bd369..0804a02 100644 --- a/docs/models/operations/upsertservicerequest.md +++ b/docs/models/operations/upsertservicerequest.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | -| `ServiceID` | *string* | :heavy_check_mark: | ID of the Service to lookup | 7fca84d6-7d37-4a74-a7b0-93e576089a41 | -| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | -| `Service` | [components.ServiceInput](../../models/components/serviceinput.md) | :heavy_check_mark: | Description of the Service | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `ServiceID` | *string* | :heavy_check_mark: | ID of the Service to lookup | 7fca84d6-7d37-4a74-a7b0-93e576089a41 | +| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager. | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | +| `Service` | [components.ServiceInput](../../models/components/serviceinput.md) | :heavy_check_mark: | Description of the Service | | \ No newline at end of file diff --git a/docs/models/operations/upsertsnirequest.md b/docs/models/operations/upsertsnirequest.md index d8b7359..83bd795 100644 --- a/docs/models/operations/upsertsnirequest.md +++ b/docs/models/operations/upsertsnirequest.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | -| `SNIID` | *string* | :heavy_check_mark: | ID of the SNI to lookup | 64c17a1a-b7d7-4a65-a5a4-42e4a7016e7f | -| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | -| `Sni` | [components.SNIInput](../../models/components/sniinput.md) | :heavy_check_mark: | Description of the SNI | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `SNIID` | *string* | :heavy_check_mark: | ID of the SNI to lookup | 64c17a1a-b7d7-4a65-a5a4-42e4a7016e7f | +| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager. | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | +| `Sni` | [components.SNIInput](../../models/components/sniinput.md) | :heavy_check_mark: | Description of the SNI | | \ No newline at end of file diff --git a/docs/models/operations/upsertsniwithcertificaterequest.md b/docs/models/operations/upsertsniwithcertificaterequest.md index 150264b..6e3e98d 100644 --- a/docs/models/operations/upsertsniwithcertificaterequest.md +++ b/docs/models/operations/upsertsniwithcertificaterequest.md @@ -3,9 +3,9 @@ ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | -| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | -| `CertificateID` | *string* | :heavy_check_mark: | ID of the Certificate to lookup | ddf3cdaa-3329-4961-822a-ce6dbd38eff7 | -| `SNIID` | *string* | :heavy_check_mark: | ID of the SNI to lookup | 64c17a1a-b7d7-4a65-a5a4-42e4a7016e7f | -| `SNIWithoutParents` | [components.SNIWithoutParents](../../models/components/sniwithoutparents.md) | :heavy_check_mark: | Description of the SNI | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager. | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | +| `CertificateID` | *string* | :heavy_check_mark: | ID of the Certificate to lookup | ddf3cdaa-3329-4961-822a-ce6dbd38eff7 | +| `SNIID` | *string* | :heavy_check_mark: | ID of the SNI to lookup | 64c17a1a-b7d7-4a65-a5a4-42e4a7016e7f | +| `SNIWithoutParents` | [components.SNIWithoutParents](../../models/components/sniwithoutparents.md) | :heavy_check_mark: | Description of the SNI | | \ No newline at end of file diff --git a/docs/models/operations/upserttargetwithupstreamrequest.md b/docs/models/operations/upserttargetwithupstreamrequest.md index 4925010..27655af 100644 --- a/docs/models/operations/upserttargetwithupstreamrequest.md +++ b/docs/models/operations/upserttargetwithupstreamrequest.md @@ -5,7 +5,7 @@ | Field | Type | Required | Description | Example | | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | -| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | +| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager. | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | | `UpstreamIDForTarget` | *string* | :heavy_check_mark: | ID or target of the Target to lookup | 5a078780-5d4c-4aae-984a-bdc6f52113d8 | | `TargetID` | *string* | :heavy_check_mark: | ID of the Target to lookup | 5a078780-5d4c-4aae-984a-bdc6f52113d8 | | `TargetWithoutParents` | [components.TargetWithoutParents](../../models/components/targetwithoutparents.md) | :heavy_check_mark: | Description of the Target | | \ No newline at end of file diff --git a/docs/models/operations/upsertupstreamrequest.md b/docs/models/operations/upsertupstreamrequest.md index 0951d90..5a8f583 100644 --- a/docs/models/operations/upsertupstreamrequest.md +++ b/docs/models/operations/upsertupstreamrequest.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | -| `UpstreamID` | *string* | :heavy_check_mark: | ID of the Upstream to lookup | 426d620c-7058-4ae6-aacc-f85a3204a2c5 | -| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | -| `Upstream` | [components.UpstreamInput](../../models/components/upstreaminput.md) | :heavy_check_mark: | Description of the Upstream | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `UpstreamID` | *string* | :heavy_check_mark: | ID of the Upstream to lookup | 426d620c-7058-4ae6-aacc-f85a3204a2c5 | +| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager. | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | +| `Upstream` | [components.UpstreamInput](../../models/components/upstreaminput.md) | :heavy_check_mark: | Description of the Upstream | | \ No newline at end of file diff --git a/docs/models/operations/upsertvaultrequest.md b/docs/models/operations/upsertvaultrequest.md index 7e302e1..db1fb64 100644 --- a/docs/models/operations/upsertvaultrequest.md +++ b/docs/models/operations/upsertvaultrequest.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | -| `VaultID` | *string* | :heavy_check_mark: | ID of the Vault to lookup | 9d4d6d19-77c6-428e-a965-9bc9647633e9 | -| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | -| `Vault` | [components.VaultInput](../../models/components/vaultinput.md) | :heavy_check_mark: | Description of the Vault | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `VaultID` | *string* | :heavy_check_mark: | ID of the Vault to lookup | 9d4d6d19-77c6-428e-a965-9bc9647633e9 | +| `ControlPlaneID` | *string* | :heavy_check_mark: | The UUID of your control plane. This variable is available in the Konnect manager. | 9524ec7d-36d9-465d-a8c5-83a3c9390458 | +| `Vault` | [components.VaultInput](../../models/components/vaultinput.md) | :heavy_check_mark: | Description of the Vault | | \ No newline at end of file diff --git a/models/components/aclwithoutparents.go b/models/components/aclwithoutparents.go index 6467737..1dfaf56 100644 --- a/models/components/aclwithoutparents.go +++ b/models/components/aclwithoutparents.go @@ -4,6 +4,7 @@ package components type ACLWithoutParents struct { Group *string `json:"group,omitempty"` + ID *string `json:"id,omitempty"` Tags []string `json:"tags,omitempty"` } @@ -14,6 +15,13 @@ func (o *ACLWithoutParents) GetGroup() *string { return o.Group } +func (o *ACLWithoutParents) GetID() *string { + if o == nil { + return nil + } + return o.ID +} + func (o *ACLWithoutParents) GetTags() []string { if o == nil { return nil diff --git a/models/components/basicauthwithoutparents.go b/models/components/basicauthwithoutparents.go index 3886cf0..8c69e60 100644 --- a/models/components/basicauthwithoutparents.go +++ b/models/components/basicauthwithoutparents.go @@ -3,11 +3,19 @@ package components type BasicAuthWithoutParents struct { + ID *string `json:"id,omitempty"` Password *string `json:"password,omitempty"` Tags []string `json:"tags,omitempty"` Username *string `json:"username,omitempty"` } +func (o *BasicAuthWithoutParents) GetID() *string { + if o == nil { + return nil + } + return o.ID +} + func (o *BasicAuthWithoutParents) GetPassword() *string { if o == nil { return nil diff --git a/models/components/cacertificate.go b/models/components/cacertificate.go index 2a373c5..86091de 100644 --- a/models/components/cacertificate.go +++ b/models/components/cacertificate.go @@ -4,7 +4,7 @@ package components type CACertificate struct { // PEM-encoded public certificate of the CA. - Cert *string `json:"cert,omitempty"` + Cert string `json:"cert"` // SHA256 hex digest of the public certificate. This field is read-only and it cannot be set by the caller, the value is automatically computed. CertDigest *string `json:"cert_digest,omitempty"` // Unix epoch when the resource was created. @@ -16,9 +16,9 @@ type CACertificate struct { UpdatedAt *int64 `json:"updated_at,omitempty"` } -func (o *CACertificate) GetCert() *string { +func (o *CACertificate) GetCert() string { if o == nil { - return nil + return "" } return o.Cert } diff --git a/models/components/cacertificateinput.go b/models/components/cacertificateinput.go index 994dd9c..288fb1f 100644 --- a/models/components/cacertificateinput.go +++ b/models/components/cacertificateinput.go @@ -4,16 +4,17 @@ package components type CACertificateInput struct { // PEM-encoded public certificate of the CA. - Cert *string `json:"cert,omitempty"` + Cert string `json:"cert"` // SHA256 hex digest of the public certificate. This field is read-only and it cannot be set by the caller, the value is automatically computed. CertDigest *string `json:"cert_digest,omitempty"` + ID *string `json:"id,omitempty"` // An optional set of strings associated with the Certificate for grouping and filtering. Tags []string `json:"tags,omitempty"` } -func (o *CACertificateInput) GetCert() *string { +func (o *CACertificateInput) GetCert() string { if o == nil { - return nil + return "" } return o.Cert } @@ -25,6 +26,13 @@ func (o *CACertificateInput) GetCertDigest() *string { return o.CertDigest } +func (o *CACertificateInput) GetID() *string { + if o == nil { + return nil + } + return o.ID +} + func (o *CACertificateInput) GetTags() []string { if o == nil { return nil diff --git a/models/components/certificate.go b/models/components/certificate.go index df18418..322a007 100644 --- a/models/components/certificate.go +++ b/models/components/certificate.go @@ -4,14 +4,14 @@ package components type Certificate struct { // PEM-encoded public certificate chain of the SSL key pair. This field is _referenceable_, which means it can be securely stored as a [secret](/gateway/latest/plan-and-deploy/security/secrets-management/getting-started) in a vault. References must follow a [specific format](/gateway/latest/plan-and-deploy/security/secrets-management/reference-format). - Cert *string `json:"cert,omitempty"` + Cert string `json:"cert"` // PEM-encoded public certificate chain of the alternate SSL key pair. This should only be set if you have both RSA and ECDSA types of certificate available and would like Kong to prefer serving using ECDSA certs when client advertises support for it. This field is _referenceable_, which means it can be securely stored as a [secret](/gateway/latest/plan-and-deploy/security/secrets-management/getting-started) in a vault. References must follow a [specific format](/gateway/latest/plan-and-deploy/security/secrets-management/reference-format). CertAlt *string `json:"cert_alt,omitempty"` // Unix epoch when the resource was created. CreatedAt *int64 `json:"created_at,omitempty"` ID *string `json:"id,omitempty"` // PEM-encoded private key of the SSL key pair. This field is _referenceable_, which means it can be securely stored as a [secret](/gateway/latest/plan-and-deploy/security/secrets-management/getting-started) in a vault. References must follow a [specific format](/gateway/latest/plan-and-deploy/security/secrets-management/reference-format). - Key *string `json:"key,omitempty"` + Key string `json:"key"` // PEM-encoded private key of the alternate SSL key pair. This should only be set if you have both RSA and ECDSA types of certificate available and would like Kong to prefer serving using ECDSA certs when client advertises support for it. This field is _referenceable_, which means it can be securely stored as a [secret](/gateway/latest/plan-and-deploy/security/secrets-management/getting-started) in a vault. References must follow a [specific format](/gateway/latest/plan-and-deploy/security/secrets-management/reference-format). KeyAlt *string `json:"key_alt,omitempty"` // An optional set of strings associated with the Certificate for grouping and filtering. @@ -20,9 +20,9 @@ type Certificate struct { UpdatedAt *int64 `json:"updated_at,omitempty"` } -func (o *Certificate) GetCert() *string { +func (o *Certificate) GetCert() string { if o == nil { - return nil + return "" } return o.Cert } @@ -48,9 +48,9 @@ func (o *Certificate) GetID() *string { return o.ID } -func (o *Certificate) GetKey() *string { +func (o *Certificate) GetKey() string { if o == nil { - return nil + return "" } return o.Key } diff --git a/models/components/certificateinput.go b/models/components/certificateinput.go index be2a824..8fe88ed 100644 --- a/models/components/certificateinput.go +++ b/models/components/certificateinput.go @@ -4,20 +4,21 @@ package components type CertificateInput struct { // PEM-encoded public certificate chain of the SSL key pair. This field is _referenceable_, which means it can be securely stored as a [secret](/gateway/latest/plan-and-deploy/security/secrets-management/getting-started) in a vault. References must follow a [specific format](/gateway/latest/plan-and-deploy/security/secrets-management/reference-format). - Cert *string `json:"cert,omitempty"` + Cert string `json:"cert"` // PEM-encoded public certificate chain of the alternate SSL key pair. This should only be set if you have both RSA and ECDSA types of certificate available and would like Kong to prefer serving using ECDSA certs when client advertises support for it. This field is _referenceable_, which means it can be securely stored as a [secret](/gateway/latest/plan-and-deploy/security/secrets-management/getting-started) in a vault. References must follow a [specific format](/gateway/latest/plan-and-deploy/security/secrets-management/reference-format). CertAlt *string `json:"cert_alt,omitempty"` + ID *string `json:"id,omitempty"` // PEM-encoded private key of the SSL key pair. This field is _referenceable_, which means it can be securely stored as a [secret](/gateway/latest/plan-and-deploy/security/secrets-management/getting-started) in a vault. References must follow a [specific format](/gateway/latest/plan-and-deploy/security/secrets-management/reference-format). - Key *string `json:"key,omitempty"` + Key string `json:"key"` // PEM-encoded private key of the alternate SSL key pair. This should only be set if you have both RSA and ECDSA types of certificate available and would like Kong to prefer serving using ECDSA certs when client advertises support for it. This field is _referenceable_, which means it can be securely stored as a [secret](/gateway/latest/plan-and-deploy/security/secrets-management/getting-started) in a vault. References must follow a [specific format](/gateway/latest/plan-and-deploy/security/secrets-management/reference-format). KeyAlt *string `json:"key_alt,omitempty"` // An optional set of strings associated with the Certificate for grouping and filtering. Tags []string `json:"tags,omitempty"` } -func (o *CertificateInput) GetCert() *string { +func (o *CertificateInput) GetCert() string { if o == nil { - return nil + return "" } return o.Cert } @@ -29,10 +30,17 @@ func (o *CertificateInput) GetCertAlt() *string { return o.CertAlt } -func (o *CertificateInput) GetKey() *string { +func (o *CertificateInput) GetID() *string { if o == nil { return nil } + return o.ID +} + +func (o *CertificateInput) GetKey() string { + if o == nil { + return "" + } return o.Key } diff --git a/models/components/consumergroup.go b/models/components/consumergroup.go index 81d61da..6543027 100644 --- a/models/components/consumergroup.go +++ b/models/components/consumergroup.go @@ -6,7 +6,7 @@ type ConsumerGroup struct { // Unix epoch when the resource was created. CreatedAt *int64 `json:"created_at,omitempty"` ID *string `json:"id,omitempty"` - Name *string `json:"name,omitempty"` + Name string `json:"name"` Tags []string `json:"tags,omitempty"` // Unix epoch when the resource was last updated. UpdatedAt *int64 `json:"updated_at,omitempty"` @@ -26,9 +26,9 @@ func (o *ConsumerGroup) GetID() *string { return o.ID } -func (o *ConsumerGroup) GetName() *string { +func (o *ConsumerGroup) GetName() string { if o == nil { - return nil + return "" } return o.Name } diff --git a/models/components/consumergroupinput.go b/models/components/consumergroupinput.go index ebe3513..18cee3f 100644 --- a/models/components/consumergroupinput.go +++ b/models/components/consumergroupinput.go @@ -3,14 +3,22 @@ package components type ConsumerGroupInput struct { - Name *string `json:"name,omitempty"` + ID *string `json:"id,omitempty"` + Name string `json:"name"` Tags []string `json:"tags,omitempty"` } -func (o *ConsumerGroupInput) GetName() *string { +func (o *ConsumerGroupInput) GetID() *string { if o == nil { return nil } + return o.ID +} + +func (o *ConsumerGroupInput) GetName() string { + if o == nil { + return "" + } return o.Name } diff --git a/models/components/consumerinput.go b/models/components/consumerinput.go index 115ef86..3f3de3a 100644 --- a/models/components/consumerinput.go +++ b/models/components/consumerinput.go @@ -5,6 +5,7 @@ package components type ConsumerInput struct { // Field for storing an existing unique ID for the Consumer - useful for mapping Kong with users in your existing database. You must send either this field or `username` with the request. CustomID *string `json:"custom_id,omitempty"` + ID *string `json:"id,omitempty"` // An optional set of strings associated with the Consumer for grouping and filtering. Tags []string `json:"tags,omitempty"` // The unique username of the Consumer. You must send either this field or `custom_id` with the request. @@ -18,6 +19,13 @@ func (o *ConsumerInput) GetCustomID() *string { return o.CustomID } +func (o *ConsumerInput) GetID() *string { + if o == nil { + return nil + } + return o.ID +} + func (o *ConsumerInput) GetTags() []string { if o == nil { return nil diff --git a/models/components/controlplane.go b/models/components/controlplane.go index 9de016a..0131157 100644 --- a/models/components/controlplane.go +++ b/models/components/controlplane.go @@ -32,9 +32,9 @@ func (o *Config) GetTelemetryEndpoint() *string { // ControlPlane - The control plane object contains information about a Kong control plane. type ControlPlane struct { // The control plane ID. - ID string `json:"id"` + ID *string `json:"id,omitempty"` // The name of the control plane. - Name string `json:"name"` + Name *string `json:"name,omitempty"` // The description of the control plane in Konnect. Description *string `json:"description,omitempty"` // Labels store metadata of an entity that can be used for filtering an entity list or for searching across entity types. @@ -43,11 +43,11 @@ type ControlPlane struct { // Labels map[string]string `json:"labels,omitempty"` // CP configuration object for related access endpoints. - Config Config `json:"config"` + Config *Config `json:"config,omitempty"` // An ISO-8604 timestamp representation of control plane creation date. - CreatedAt time.Time `json:"created_at"` + CreatedAt *time.Time `json:"created_at,omitempty"` // An ISO-8604 timestamp representation of control plane update date. - UpdatedAt time.Time `json:"updated_at"` + UpdatedAt *time.Time `json:"updated_at,omitempty"` } func (c ControlPlane) MarshalJSON() ([]byte, error) { @@ -61,16 +61,16 @@ func (c *ControlPlane) UnmarshalJSON(data []byte) error { return nil } -func (o *ControlPlane) GetID() string { +func (o *ControlPlane) GetID() *string { if o == nil { - return "" + return nil } return o.ID } -func (o *ControlPlane) GetName() string { +func (o *ControlPlane) GetName() *string { if o == nil { - return "" + return nil } return o.Name } @@ -89,23 +89,23 @@ func (o *ControlPlane) GetLabels() map[string]string { return o.Labels } -func (o *ControlPlane) GetConfig() Config { +func (o *ControlPlane) GetConfig() *Config { if o == nil { - return Config{} + return nil } return o.Config } -func (o *ControlPlane) GetCreatedAt() time.Time { +func (o *ControlPlane) GetCreatedAt() *time.Time { if o == nil { - return time.Time{} + return nil } return o.CreatedAt } -func (o *ControlPlane) GetUpdatedAt() time.Time { +func (o *ControlPlane) GetUpdatedAt() *time.Time { if o == nil { - return time.Time{} + return nil } return o.UpdatedAt } diff --git a/models/components/controlplanesummary.go b/models/components/controlplanesummary.go index 7601214..76da1a1 100644 --- a/models/components/controlplanesummary.go +++ b/models/components/controlplanesummary.go @@ -133,9 +133,9 @@ func (o *ControlPlaneSummaryConfig) GetProxyUrls() []ProxyURL { // ControlPlaneSummary - The control plane object contains information about a Kong control plane. type ControlPlaneSummary struct { // The control plane ID. - ID string `json:"id"` + ID *string `json:"id,omitempty"` // The name of the control plane. - Name string `json:"name"` + Name *string `json:"name,omitempty"` // The description of the control plane in Konnect. Description *string `json:"description,omitempty"` // Labels store metadata of an entity that can be used for filtering an entity list or for searching across entity types. @@ -144,9 +144,9 @@ type ControlPlaneSummary struct { // Labels map[string]string `json:"labels,omitempty"` // CP configuration object for related access endpoints. - Config ControlPlaneSummaryConfig `json:"config"` - CreatedAt time.Time `json:"created_at"` - UpdatedAt time.Time `json:"updated_at"` + Config *ControlPlaneSummaryConfig `json:"config,omitempty"` + CreatedAt *time.Time `json:"created_at,omitempty"` + UpdatedAt *time.Time `json:"updated_at,omitempty"` } func (c ControlPlaneSummary) MarshalJSON() ([]byte, error) { @@ -160,16 +160,16 @@ func (c *ControlPlaneSummary) UnmarshalJSON(data []byte) error { return nil } -func (o *ControlPlaneSummary) GetID() string { +func (o *ControlPlaneSummary) GetID() *string { if o == nil { - return "" + return nil } return o.ID } -func (o *ControlPlaneSummary) GetName() string { +func (o *ControlPlaneSummary) GetName() *string { if o == nil { - return "" + return nil } return o.Name } @@ -188,23 +188,23 @@ func (o *ControlPlaneSummary) GetLabels() map[string]string { return o.Labels } -func (o *ControlPlaneSummary) GetConfig() ControlPlaneSummaryConfig { +func (o *ControlPlaneSummary) GetConfig() *ControlPlaneSummaryConfig { if o == nil { - return ControlPlaneSummaryConfig{} + return nil } return o.Config } -func (o *ControlPlaneSummary) GetCreatedAt() time.Time { +func (o *ControlPlaneSummary) GetCreatedAt() *time.Time { if o == nil { - return time.Time{} + return nil } return o.CreatedAt } -func (o *ControlPlaneSummary) GetUpdatedAt() time.Time { +func (o *ControlPlaneSummary) GetUpdatedAt() *time.Time { if o == nil { - return time.Time{} + return nil } return o.UpdatedAt } diff --git a/models/components/cpregion.go b/models/components/cpregion.go deleted file mode 100644 index 691e7e5..0000000 --- a/models/components/cpregion.go +++ /dev/null @@ -1,38 +0,0 @@ -// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - -package components - -import ( - "encoding/json" - "fmt" -) - -// CpRegion - The control plane region. -type CpRegion string - -const ( - CpRegionUs CpRegion = "us" - CpRegionEu CpRegion = "eu" - CpRegionAu CpRegion = "au" -) - -func (e CpRegion) ToPointer() *CpRegion { - return &e -} -func (e *CpRegion) UnmarshalJSON(data []byte) error { - var v string - if err := json.Unmarshal(data, &v); err != nil { - return err - } - switch v { - case "us": - fallthrough - case "eu": - fallthrough - case "au": - *e = CpRegion(v) - return nil - default: - return fmt.Errorf("invalid value for CpRegion: %v", v) - } -} diff --git a/models/components/createserverlesscloudgatewayrequest.go b/models/components/createserverlesscloudgatewayrequest.go deleted file mode 100644 index 7aed89b..0000000 --- a/models/components/createserverlesscloudgatewayrequest.go +++ /dev/null @@ -1,42 +0,0 @@ -// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - -package components - -// CreateServerlessCloudGatewayRequest - Schema to create a serverless cloud gateway. -type CreateServerlessCloudGatewayRequest struct { - ControlPlane ServerlessControlPlane `json:"control_plane"` - // The cluster certificate (public key). - ClusterCert string `json:"cluster_cert"` - // The cluster certificate key (private key). - ClusterCertKey string `json:"cluster_cert_key"` - // Labels to facilitate tagged search on serverless cloud gateways. Keys must be of length 1-63 characters, and cannot start with 'kong', 'konnect', 'mesh', 'kic', or '_'. - Labels map[string]string `json:"labels,omitempty"` -} - -func (o *CreateServerlessCloudGatewayRequest) GetControlPlane() ServerlessControlPlane { - if o == nil { - return ServerlessControlPlane{} - } - return o.ControlPlane -} - -func (o *CreateServerlessCloudGatewayRequest) GetClusterCert() string { - if o == nil { - return "" - } - return o.ClusterCert -} - -func (o *CreateServerlessCloudGatewayRequest) GetClusterCertKey() string { - if o == nil { - return "" - } - return o.ClusterCertKey -} - -func (o *CreateServerlessCloudGatewayRequest) GetLabels() map[string]string { - if o == nil { - return nil - } - return o.Labels -} diff --git a/models/components/hmacauthwithoutparents.go b/models/components/hmacauthwithoutparents.go index 76dd228..94755cb 100644 --- a/models/components/hmacauthwithoutparents.go +++ b/models/components/hmacauthwithoutparents.go @@ -3,11 +3,19 @@ package components type HMACAuthWithoutParents struct { + ID *string `json:"id,omitempty"` Secret *string `json:"secret,omitempty"` Tags []string `json:"tags,omitempty"` Username *string `json:"username,omitempty"` } +func (o *HMACAuthWithoutParents) GetID() *string { + if o == nil { + return nil + } + return o.ID +} + func (o *HMACAuthWithoutParents) GetSecret() *string { if o == nil { return nil diff --git a/models/components/jwtwithoutparents.go b/models/components/jwtwithoutparents.go index 46d34b5..e3cbe05 100644 --- a/models/components/jwtwithoutparents.go +++ b/models/components/jwtwithoutparents.go @@ -69,6 +69,7 @@ func (e *JWTWithoutParentsAlgorithm) UnmarshalJSON(data []byte) error { type JWTWithoutParents struct { Algorithm *JWTWithoutParentsAlgorithm `default:"HS256" json:"algorithm"` + ID *string `json:"id,omitempty"` Key *string `json:"key,omitempty"` RsaPublicKey *string `json:"rsa_public_key,omitempty"` Secret *string `json:"secret,omitempty"` @@ -93,6 +94,13 @@ func (o *JWTWithoutParents) GetAlgorithm() *JWTWithoutParentsAlgorithm { return o.Algorithm } +func (o *JWTWithoutParents) GetID() *string { + if o == nil { + return nil + } + return o.ID +} + func (o *JWTWithoutParents) GetKey() *string { if o == nil { return nil diff --git a/models/components/key.go b/models/components/key.go index 386980b..e3d0ea8 100644 --- a/models/components/key.go +++ b/models/components/key.go @@ -41,7 +41,7 @@ type Key struct { // A JSON Web Key represented as a string. Jwk *string `json:"jwk,omitempty"` // A unique identifier for a key. - Kid *string `json:"kid,omitempty"` + Kid string `json:"kid"` // The name to associate with the given keys. Name *string `json:"name,omitempty"` // A keypair in PEM format. @@ -75,9 +75,9 @@ func (o *Key) GetJwk() *string { return o.Jwk } -func (o *Key) GetKid() *string { +func (o *Key) GetKid() string { if o == nil { - return nil + return "" } return o.Kid } @@ -118,10 +118,11 @@ func (o *Key) GetUpdatedAt() *int64 { } type KeyInput struct { + ID *string `json:"id,omitempty"` // A JSON Web Key represented as a string. Jwk *string `json:"jwk,omitempty"` // A unique identifier for a key. - Kid *string `json:"kid,omitempty"` + Kid string `json:"kid"` // The name to associate with the given keys. Name *string `json:"name,omitempty"` // A keypair in PEM format. @@ -132,6 +133,13 @@ type KeyInput struct { Tags []string `json:"tags,omitempty"` } +func (o *KeyInput) GetID() *string { + if o == nil { + return nil + } + return o.ID +} + func (o *KeyInput) GetJwk() *string { if o == nil { return nil @@ -139,9 +147,9 @@ func (o *KeyInput) GetJwk() *string { return o.Jwk } -func (o *KeyInput) GetKid() *string { +func (o *KeyInput) GetKid() string { if o == nil { - return nil + return "" } return o.Kid } diff --git a/models/components/keyauthwithoutparents.go b/models/components/keyauthwithoutparents.go index dccb9e6..174d77b 100644 --- a/models/components/keyauthwithoutparents.go +++ b/models/components/keyauthwithoutparents.go @@ -3,10 +3,18 @@ package components type KeyAuthWithoutParents struct { + ID *string `json:"id,omitempty"` Key *string `json:"key,omitempty"` Tags []string `json:"tags,omitempty"` } +func (o *KeyAuthWithoutParents) GetID() *string { + if o == nil { + return nil + } + return o.ID +} + func (o *KeyAuthWithoutParents) GetKey() *string { if o == nil { return nil diff --git a/models/components/keysetinput.go b/models/components/keysetinput.go index 14b956a..e5e319f 100644 --- a/models/components/keysetinput.go +++ b/models/components/keysetinput.go @@ -3,10 +3,18 @@ package components type KeySetInput struct { + ID *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Tags []string `json:"tags,omitempty"` } +func (o *KeySetInput) GetID() *string { + if o == nil { + return nil + } + return o.ID +} + func (o *KeySetInput) GetName() *string { if o == nil { return nil diff --git a/models/components/listserverlesscloudgatewaysresponse.go b/models/components/listserverlesscloudgatewaysresponse.go deleted file mode 100644 index 7d7cbca..0000000 --- a/models/components/listserverlesscloudgatewaysresponse.go +++ /dev/null @@ -1,23 +0,0 @@ -// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - -package components - -type ListServerlessCloudGatewaysResponse struct { - // returns the pagination information - Meta *PaginatedMeta `json:"meta,omitempty"` - Data []ServerlessCloudGateway `json:"data,omitempty"` -} - -func (o *ListServerlessCloudGatewaysResponse) GetMeta() *PaginatedMeta { - if o == nil { - return nil - } - return o.Meta -} - -func (o *ListServerlessCloudGatewaysResponse) GetData() []ServerlessCloudGateway { - if o == nil { - return nil - } - return o.Data -} diff --git a/models/components/plugin.go b/models/components/plugin.go index b07db34..e2d67fc 100644 --- a/models/components/plugin.go +++ b/models/components/plugin.go @@ -148,7 +148,7 @@ func (o *PluginService) GetID() *string { type Plugin struct { // The configuration properties for the Plugin which can be found on the plugins documentation page in the [Kong Hub](https://docs.konghq.com/hub/). - Config map[string]any `json:"config,omitempty"` + Config map[string]any `json:"config"` // Unix epoch when the resource was created. CreatedAt *int64 `json:"created_at,omitempty"` // Whether the plugin is applied. @@ -156,7 +156,7 @@ type Plugin struct { ID *string `json:"id,omitempty"` InstanceName *string `json:"instance_name,omitempty"` // The name of the Plugin that's going to be added. Currently, the Plugin must be installed in every Kong instance separately. - Name *string `json:"name,omitempty"` + Name string `json:"name"` Ordering *Ordering `json:"ordering,omitempty"` // A list of the request protocols that will trigger this plugin. The default value, as well as the possible values allowed on this field, may change depending on the plugin type. For example, plugins that only work in stream mode will only support `"tcp"` and `"tls"`. Protocols []Protocols `json:"protocols,omitempty"` @@ -186,7 +186,7 @@ func (p *Plugin) UnmarshalJSON(data []byte) error { func (o *Plugin) GetConfig() map[string]any { if o == nil { - return nil + return map[string]any{} } return o.Config } @@ -219,9 +219,9 @@ func (o *Plugin) GetInstanceName() *string { return o.InstanceName } -func (o *Plugin) GetName() *string { +func (o *Plugin) GetName() string { if o == nil { - return nil + return "" } return o.Name } @@ -284,12 +284,13 @@ func (o *Plugin) GetService() *PluginService { type PluginInput struct { // The configuration properties for the Plugin which can be found on the plugins documentation page in the [Kong Hub](https://docs.konghq.com/hub/). - Config map[string]any `json:"config,omitempty"` + Config map[string]any `json:"config"` // Whether the plugin is applied. Enabled *bool `default:"true" json:"enabled"` + ID *string `json:"id,omitempty"` InstanceName *string `json:"instance_name,omitempty"` // The name of the Plugin that's going to be added. Currently, the Plugin must be installed in every Kong instance separately. - Name *string `json:"name,omitempty"` + Name string `json:"name"` Ordering *Ordering `json:"ordering,omitempty"` // A list of the request protocols that will trigger this plugin. The default value, as well as the possible values allowed on this field, may change depending on the plugin type. For example, plugins that only work in stream mode will only support `"tcp"` and `"tls"`. Protocols []Protocols `json:"protocols,omitempty"` @@ -317,7 +318,7 @@ func (p *PluginInput) UnmarshalJSON(data []byte) error { func (o *PluginInput) GetConfig() map[string]any { if o == nil { - return nil + return map[string]any{} } return o.Config } @@ -329,6 +330,13 @@ func (o *PluginInput) GetEnabled() *bool { return o.Enabled } +func (o *PluginInput) GetID() *string { + if o == nil { + return nil + } + return o.ID +} + func (o *PluginInput) GetInstanceName() *string { if o == nil { return nil @@ -336,9 +344,9 @@ func (o *PluginInput) GetInstanceName() *string { return o.InstanceName } -func (o *PluginInput) GetName() *string { +func (o *PluginInput) GetName() string { if o == nil { - return nil + return "" } return o.Name } diff --git a/models/components/pluginwithoutparents.go b/models/components/pluginwithoutparents.go index 7a3fa51..ac0e3a8 100644 --- a/models/components/pluginwithoutparents.go +++ b/models/components/pluginwithoutparents.go @@ -101,12 +101,13 @@ func (e *PluginWithoutParentsProtocols) UnmarshalJSON(data []byte) error { type PluginWithoutParents struct { // The configuration properties for the Plugin which can be found on the plugins documentation page in the [Kong Hub](https://docs.konghq.com/hub/). - Config map[string]any `json:"config,omitempty"` + Config map[string]any `json:"config"` // Whether the plugin is applied. Enabled *bool `default:"true" json:"enabled"` + ID *string `json:"id,omitempty"` InstanceName *string `json:"instance_name,omitempty"` // The name of the Plugin that's going to be added. Currently, the Plugin must be installed in every Kong instance separately. - Name *string `json:"name,omitempty"` + Name string `json:"name"` Ordering *PluginWithoutParentsOrdering `json:"ordering,omitempty"` // A list of the request protocols that will trigger this plugin. The default value, as well as the possible values allowed on this field, may change depending on the plugin type. For example, plugins that only work in stream mode will only support `"tcp"` and `"tls"`. Protocols []PluginWithoutParentsProtocols `json:"protocols,omitempty"` @@ -127,7 +128,7 @@ func (p *PluginWithoutParents) UnmarshalJSON(data []byte) error { func (o *PluginWithoutParents) GetConfig() map[string]any { if o == nil { - return nil + return map[string]any{} } return o.Config } @@ -139,6 +140,13 @@ func (o *PluginWithoutParents) GetEnabled() *bool { return o.Enabled } +func (o *PluginWithoutParents) GetID() *string { + if o == nil { + return nil + } + return o.ID +} + func (o *PluginWithoutParents) GetInstanceName() *string { if o == nil { return nil @@ -146,9 +154,9 @@ func (o *PluginWithoutParents) GetInstanceName() *string { return o.InstanceName } -func (o *PluginWithoutParents) GetName() *string { +func (o *PluginWithoutParents) GetName() string { if o == nil { - return nil + return "" } return o.Name } diff --git a/models/components/route.go b/models/components/route.go index 2bc7042..4f5cd47 100644 --- a/models/components/route.go +++ b/models/components/route.go @@ -171,7 +171,6 @@ func (o *RouteService) GetID() *string { return o.ID } -// Route - The request schema for the create route's request. type Route struct { // Unix epoch when the resource was created. CreatedAt *int64 `json:"created_at,omitempty"` @@ -374,7 +373,6 @@ func (o *Route) GetService() *RouteService { return o.Service } -// RouteInput - The request schema for the create route's request. type RouteInput struct { // A list of IP destinations of incoming connections that match this Route when using stream routing. Each entry is an object with fields "ip" (optionally in CIDR range notation) and/or "port". Destinations []Destinations `json:"destinations,omitempty"` @@ -384,6 +382,7 @@ type RouteInput struct { Hosts []string `json:"hosts,omitempty"` // The status code Kong responds with when all properties of a Route match except the protocol i.e. if the protocol of the request is `HTTP` instead of `HTTPS`. `Location` header is injected by Kong if the field is set to 301, 302, 307 or 308. Note: This config applies only if the Route is configured to only accept the `https` protocol. HTTPSRedirectStatusCode *HTTPSRedirectStatusCode `default:"426" json:"https_redirect_status_code"` + ID *string `json:"id,omitempty"` // A list of HTTP methods that match this Route. Methods []string `json:"methods,omitempty"` // The name of the Route. Route names must be unique, and they are case sensitive. For example, there can be two different Routes named "test" and "Test". @@ -453,6 +452,13 @@ func (o *RouteInput) GetHTTPSRedirectStatusCode() *HTTPSRedirectStatusCode { return o.HTTPSRedirectStatusCode } +func (o *RouteInput) GetID() *string { + if o == nil { + return nil + } + return o.ID +} + func (o *RouteInput) GetMethods() []string { if o == nil { return nil diff --git a/models/components/routewithoutparents.go b/models/components/routewithoutparents.go index facacd1..2adeec1 100644 --- a/models/components/routewithoutparents.go +++ b/models/components/routewithoutparents.go @@ -159,7 +159,6 @@ func (o *RouteWithoutParentsSources) GetPort() *int64 { return o.Port } -// RouteWithoutParents - The request schema for the create route's request. type RouteWithoutParents struct { // A list of IP destinations of incoming connections that match this Route when using stream routing. Each entry is an object with fields "ip" (optionally in CIDR range notation) and/or "port". Destinations []RouteWithoutParentsDestinations `json:"destinations,omitempty"` @@ -169,6 +168,7 @@ type RouteWithoutParents struct { Hosts []string `json:"hosts,omitempty"` // The status code Kong responds with when all properties of a Route match except the protocol i.e. if the protocol of the request is `HTTP` instead of `HTTPS`. `Location` header is injected by Kong if the field is set to 301, 302, 307 or 308. Note: This config applies only if the Route is configured to only accept the `https` protocol. HTTPSRedirectStatusCode *RouteWithoutParentsHTTPSRedirectStatusCode `default:"426" json:"https_redirect_status_code"` + ID *string `json:"id,omitempty"` // A list of HTTP methods that match this Route. Methods []string `json:"methods,omitempty"` // The name of the Route. Route names must be unique, and they are case sensitive. For example, there can be two different Routes named "test" and "Test". @@ -236,6 +236,13 @@ func (o *RouteWithoutParents) GetHTTPSRedirectStatusCode() *RouteWithoutParentsH return o.HTTPSRedirectStatusCode } +func (o *RouteWithoutParents) GetID() *string { + if o == nil { + return nil + } + return o.ID +} + func (o *RouteWithoutParents) GetMethods() []string { if o == nil { return nil diff --git a/models/components/serverlesscloudgateway.go b/models/components/serverlesscloudgateway.go deleted file mode 100644 index 3d2cc54..0000000 --- a/models/components/serverlesscloudgateway.go +++ /dev/null @@ -1,65 +0,0 @@ -// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - -package components - -import ( - "github.com/Kong/sdk-konnect-go/internal/utils" - "time" -) - -// ServerlessCloudGateway - A serverless cloud gateway -type ServerlessCloudGateway struct { - ControlPlane ServerlessControlPlane `json:"control_plane"` - // Endpoint for the serverless cloud gateway. - GatewayEndpoint string `json:"gateway_endpoint"` - CreatedAt time.Time `json:"created_at"` - UpdatedAt time.Time `json:"updated_at"` - // Labels to facilitate tagged search on serverless cloud gateways. Keys must be of length 1-63 characters, and cannot start with 'kong', 'konnect', 'mesh', 'kic', or '_'. - Labels map[string]string `json:"labels,omitempty"` -} - -func (s ServerlessCloudGateway) MarshalJSON() ([]byte, error) { - return utils.MarshalJSON(s, "", false) -} - -func (s *ServerlessCloudGateway) UnmarshalJSON(data []byte) error { - if err := utils.UnmarshalJSON(data, &s, "", false, false); err != nil { - return err - } - return nil -} - -func (o *ServerlessCloudGateway) GetControlPlane() ServerlessControlPlane { - if o == nil { - return ServerlessControlPlane{} - } - return o.ControlPlane -} - -func (o *ServerlessCloudGateway) GetGatewayEndpoint() string { - if o == nil { - return "" - } - return o.GatewayEndpoint -} - -func (o *ServerlessCloudGateway) GetCreatedAt() time.Time { - if o == nil { - return time.Time{} - } - return o.CreatedAt -} - -func (o *ServerlessCloudGateway) GetUpdatedAt() time.Time { - if o == nil { - return time.Time{} - } - return o.UpdatedAt -} - -func (o *ServerlessCloudGateway) GetLabels() map[string]string { - if o == nil { - return nil - } - return o.Labels -} diff --git a/models/components/serverlesscontrolplane.go b/models/components/serverlesscontrolplane.go deleted file mode 100644 index c2c8d20..0000000 --- a/models/components/serverlesscontrolplane.go +++ /dev/null @@ -1,33 +0,0 @@ -// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - -package components - -type ServerlessControlPlane struct { - // ID of the serverless cloud gateway CP. - ID string `json:"id"` - // The prefix of the serverless cloud gateway CP. - Prefix string `json:"prefix"` - // The control plane region. - Region CpRegion `json:"region"` -} - -func (o *ServerlessControlPlane) GetID() string { - if o == nil { - return "" - } - return o.ID -} - -func (o *ServerlessControlPlane) GetPrefix() string { - if o == nil { - return "" - } - return o.Prefix -} - -func (o *ServerlessControlPlane) GetRegion() CpRegion { - if o == nil { - return CpRegion("") - } - return o.Region -} diff --git a/models/components/service.go b/models/components/service.go index cee3c3d..288c1e6 100644 --- a/models/components/service.go +++ b/models/components/service.go @@ -71,7 +71,6 @@ func (e *Protocol) UnmarshalJSON(data []byte) error { } } -// Service - The request schema for the create control plane's request. type Service struct { // Array of `CA Certificate` object UUIDs that are used to build the trust store while verifying upstream server's TLS certificate. If set to `null` when Nginx default is respected. If default CA list in Nginx are not specified and TLS verification is enabled, then handshake with upstream server will always fail (because no CA are trusted). CaCertificates []string `json:"ca_certificates,omitempty"` @@ -247,7 +246,6 @@ func (o *Service) GetWriteTimeout() *int64 { return o.WriteTimeout } -// ServiceInput - The request schema for the create control plane's request. type ServiceInput struct { // Array of `CA Certificate` object UUIDs that are used to build the trust store while verifying upstream server's TLS certificate. If set to `null` when Nginx default is respected. If default CA list in Nginx are not specified and TLS verification is enabled, then handshake with upstream server will always fail (because no CA are trusted). CaCertificates []string `json:"ca_certificates,omitempty"` @@ -258,7 +256,8 @@ type ServiceInput struct { // Whether the Service is active. If set to `false`, the proxy behavior will be as if any routes attached to it do not exist (404). Default: `true`. Enabled *bool `default:"true" json:"enabled"` // The host of the upstream server. Note that the host value is case sensitive. - Host string `json:"host"` + Host string `json:"host"` + ID *string `json:"id,omitempty"` // The Service name. Name *string `json:"name,omitempty"` // The path to be used in requests to the upstream server. @@ -329,6 +328,13 @@ func (o *ServiceInput) GetHost() string { return o.Host } +func (o *ServiceInput) GetID() *string { + if o == nil { + return nil + } + return o.ID +} + func (o *ServiceInput) GetName() *string { if o == nil { return nil diff --git a/models/components/sni.go b/models/components/sni.go index 9fbaca5..6c0bb91 100644 --- a/models/components/sni.go +++ b/models/components/sni.go @@ -19,13 +19,13 @@ type Sni struct { CreatedAt *int64 `json:"created_at,omitempty"` ID *string `json:"id,omitempty"` // The SNI name to associate with the given certificate. - Name *string `json:"name,omitempty"` + Name string `json:"name"` // An optional set of strings associated with the SNIs for grouping and filtering. Tags []string `json:"tags,omitempty"` // Unix epoch when the resource was last updated. UpdatedAt *int64 `json:"updated_at,omitempty"` // The id (a UUID) of the certificate with which to associate the SNI hostname. The Certificate must have a valid private key associated with it to be used by the SNI object. - Certificate *SNICertificate `json:"certificate,omitempty"` + Certificate SNICertificate `json:"certificate"` } func (o *Sni) GetCreatedAt() *int64 { @@ -42,9 +42,9 @@ func (o *Sni) GetID() *string { return o.ID } -func (o *Sni) GetName() *string { +func (o *Sni) GetName() string { if o == nil { - return nil + return "" } return o.Name } @@ -63,26 +63,34 @@ func (o *Sni) GetUpdatedAt() *int64 { return o.UpdatedAt } -func (o *Sni) GetCertificate() *SNICertificate { +func (o *Sni) GetCertificate() SNICertificate { if o == nil { - return nil + return SNICertificate{} } return o.Certificate } type SNIInput struct { + ID *string `json:"id,omitempty"` // The SNI name to associate with the given certificate. - Name *string `json:"name,omitempty"` + Name string `json:"name"` // An optional set of strings associated with the SNIs for grouping and filtering. Tags []string `json:"tags,omitempty"` // The id (a UUID) of the certificate with which to associate the SNI hostname. The Certificate must have a valid private key associated with it to be used by the SNI object. - Certificate *SNICertificate `json:"certificate,omitempty"` + Certificate SNICertificate `json:"certificate"` } -func (o *SNIInput) GetName() *string { +func (o *SNIInput) GetID() *string { if o == nil { return nil } + return o.ID +} + +func (o *SNIInput) GetName() string { + if o == nil { + return "" + } return o.Name } @@ -93,9 +101,9 @@ func (o *SNIInput) GetTags() []string { return o.Tags } -func (o *SNIInput) GetCertificate() *SNICertificate { +func (o *SNIInput) GetCertificate() SNICertificate { if o == nil { - return nil + return SNICertificate{} } return o.Certificate } diff --git a/models/components/sniwithoutparents.go b/models/components/sniwithoutparents.go index a6d8574..3594de3 100644 --- a/models/components/sniwithoutparents.go +++ b/models/components/sniwithoutparents.go @@ -3,16 +3,24 @@ package components type SNIWithoutParents struct { + ID *string `json:"id,omitempty"` // The SNI name to associate with the given certificate. - Name *string `json:"name,omitempty"` + Name string `json:"name"` // An optional set of strings associated with the SNIs for grouping and filtering. Tags []string `json:"tags,omitempty"` } -func (o *SNIWithoutParents) GetName() *string { +func (o *SNIWithoutParents) GetID() *string { if o == nil { return nil } + return o.ID +} + +func (o *SNIWithoutParents) GetName() string { + if o == nil { + return "" + } return o.Name } diff --git a/models/components/targetwithoutparents.go b/models/components/targetwithoutparents.go index dc4acb3..36d020a 100644 --- a/models/components/targetwithoutparents.go +++ b/models/components/targetwithoutparents.go @@ -7,6 +7,7 @@ import ( ) type TargetWithoutParents struct { + ID *string `json:"id,omitempty"` // An optional set of strings associated with the Target for grouping and filtering. Tags []string `json:"tags,omitempty"` // The target address (ip or hostname) and port. If the hostname resolves to an SRV record, the `port` value will be overridden by the value from the DNS record. @@ -26,6 +27,13 @@ func (t *TargetWithoutParents) UnmarshalJSON(data []byte) error { return nil } +func (o *TargetWithoutParents) GetID() *string { + if o == nil { + return nil + } + return o.ID +} + func (o *TargetWithoutParents) GetTags() []string { if o == nil { return nil diff --git a/models/components/upstream.go b/models/components/upstream.go index 1bff6f7..997badc 100644 --- a/models/components/upstream.go +++ b/models/components/upstream.go @@ -575,7 +575,7 @@ type Upstream struct { HostHeader *string `json:"host_header,omitempty"` ID *string `json:"id,omitempty"` // This is a hostname, which must be equal to the `host` of a Service. - Name *string `json:"name,omitempty"` + Name string `json:"name"` // The number of slots in the load balancer algorithm. If `algorithm` is set to `round-robin`, this setting determines the maximum number of slots. If `algorithm` is set to `consistent-hashing`, this setting determines the actual number of slots in the algorithm. Accepts an integer in the range `10`-`65536`. Slots *int64 `default:"10000" json:"slots"` // An optional set of strings associated with the Upstream for grouping and filtering. @@ -709,9 +709,9 @@ func (o *Upstream) GetID() *string { return o.ID } -func (o *Upstream) GetName() *string { +func (o *Upstream) GetName() string { if o == nil { - return nil + return "" } return o.Name } @@ -772,8 +772,9 @@ type UpstreamInput struct { Healthchecks *Healthchecks `json:"healthchecks,omitempty"` // The hostname to be used as `Host` header when proxying requests through Kong. HostHeader *string `json:"host_header,omitempty"` + ID *string `json:"id,omitempty"` // This is a hostname, which must be equal to the `host` of a Service. - Name *string `json:"name,omitempty"` + Name string `json:"name"` // The number of slots in the load balancer algorithm. If `algorithm` is set to `round-robin`, this setting determines the maximum number of slots. If `algorithm` is set to `consistent-hashing`, this setting determines the actual number of slots in the algorithm. Accepts an integer in the range `10`-`65536`. Slots *int64 `default:"10000" json:"slots"` // An optional set of strings associated with the Upstream for grouping and filtering. @@ -891,10 +892,17 @@ func (o *UpstreamInput) GetHostHeader() *string { return o.HostHeader } -func (o *UpstreamInput) GetName() *string { +func (o *UpstreamInput) GetID() *string { if o == nil { return nil } + return o.ID +} + +func (o *UpstreamInput) GetName() string { + if o == nil { + return "" + } return o.Name } diff --git a/models/components/vault.go b/models/components/vault.go index 59192f3..d381451 100644 --- a/models/components/vault.go +++ b/models/components/vault.go @@ -11,9 +11,9 @@ type Vault struct { Description *string `json:"description,omitempty"` ID *string `json:"id,omitempty"` // The name of the Vault that's going to be added. Currently, the Vault implementation must be installed in every Kong instance. - Name *string `json:"name,omitempty"` + Name string `json:"name"` // The unique prefix (or identifier) for this Vault configuration. The prefix is used to load the right Vault configuration and implementation when referencing secrets with the other entities. - Prefix *string `json:"prefix,omitempty"` + Prefix string `json:"prefix"` // An optional set of strings associated with the Vault for grouping and filtering. Tags []string `json:"tags,omitempty"` // Unix epoch when the resource was last updated. @@ -48,16 +48,16 @@ func (o *Vault) GetID() *string { return o.ID } -func (o *Vault) GetName() *string { +func (o *Vault) GetName() string { if o == nil { - return nil + return "" } return o.Name } -func (o *Vault) GetPrefix() *string { +func (o *Vault) GetPrefix() string { if o == nil { - return nil + return "" } return o.Prefix } diff --git a/models/components/vaultinput.go b/models/components/vaultinput.go index e7ce326..dc30818 100644 --- a/models/components/vaultinput.go +++ b/models/components/vaultinput.go @@ -7,10 +7,11 @@ type VaultInput struct { Config map[string]any `json:"config,omitempty"` // The description of the Vault entity. Description *string `json:"description,omitempty"` + ID *string `json:"id,omitempty"` // The name of the Vault that's going to be added. Currently, the Vault implementation must be installed in every Kong instance. - Name *string `json:"name,omitempty"` + Name string `json:"name"` // The unique prefix (or identifier) for this Vault configuration. The prefix is used to load the right Vault configuration and implementation when referencing secrets with the other entities. - Prefix *string `json:"prefix,omitempty"` + Prefix string `json:"prefix"` // An optional set of strings associated with the Vault for grouping and filtering. Tags []string `json:"tags,omitempty"` } @@ -29,16 +30,23 @@ func (o *VaultInput) GetDescription() *string { return o.Description } -func (o *VaultInput) GetName() *string { +func (o *VaultInput) GetID() *string { if o == nil { return nil } + return o.ID +} + +func (o *VaultInput) GetName() string { + if o == nil { + return "" + } return o.Name } -func (o *VaultInput) GetPrefix() *string { +func (o *VaultInput) GetPrefix() string { if o == nil { - return nil + return "" } return o.Prefix } diff --git a/models/operations/addconsumertogroup.go b/models/operations/addconsumertogroup.go index fea4ce7..5024490 100644 --- a/models/operations/addconsumertogroup.go +++ b/models/operations/addconsumertogroup.go @@ -20,7 +20,7 @@ func (o *AddConsumerToGroupRequestBody) GetConsumerID() *string { type AddConsumerToGroupRequest struct { ConsumerGroupID string `pathParam:"style=simple,explode=false,name=ConsumerGroupId"` - // The UUID of your control plane. This variable is available in the Konnect manager + // The UUID of your control plane. This variable is available in the Konnect manager. ControlPlaneID string `pathParam:"style=simple,explode=false,name=controlPlaneId"` RequestBody *AddConsumerToGroupRequestBody `request:"mediaType=application/json"` } diff --git a/models/operations/createaclwithconsumer.go b/models/operations/createaclwithconsumer.go index 2e2f075..f2517d2 100644 --- a/models/operations/createaclwithconsumer.go +++ b/models/operations/createaclwithconsumer.go @@ -8,7 +8,7 @@ import ( ) type CreateACLWithConsumerRequest struct { - // The UUID of your control plane. This variable is available in the Konnect manager + // The UUID of your control plane. This variable is available in the Konnect manager. ControlPlaneID string `pathParam:"style=simple,explode=false,name=controlPlaneId"` // Consumer ID for nested entities ConsumerIDForNestedEntities string `pathParam:"style=simple,explode=false,name=ConsumerIdForNestedEntities"` diff --git a/models/operations/createbasicauthwithconsumer.go b/models/operations/createbasicauthwithconsumer.go index c35d540..d6151fa 100644 --- a/models/operations/createbasicauthwithconsumer.go +++ b/models/operations/createbasicauthwithconsumer.go @@ -8,7 +8,7 @@ import ( ) type CreateBasicAuthWithConsumerRequest struct { - // The UUID of your control plane. This variable is available in the Konnect manager + // The UUID of your control plane. This variable is available in the Konnect manager. ControlPlaneID string `pathParam:"style=simple,explode=false,name=controlPlaneId"` // Consumer ID for nested entities ConsumerIDForNestedEntities string `pathParam:"style=simple,explode=false,name=ConsumerIdForNestedEntities"` diff --git a/models/operations/createcacertificate.go b/models/operations/createcacertificate.go index c782a56..e28b8b7 100644 --- a/models/operations/createcacertificate.go +++ b/models/operations/createcacertificate.go @@ -8,7 +8,7 @@ import ( ) type CreateCaCertificateRequest struct { - // The UUID of your control plane. This variable is available in the Konnect manager + // The UUID of your control plane. This variable is available in the Konnect manager. ControlPlaneID string `pathParam:"style=simple,explode=false,name=controlPlaneId"` // Description of the new CA Certificate for creation CACertificate components.CACertificateInput `request:"mediaType=application/json"` diff --git a/models/operations/createcertificate.go b/models/operations/createcertificate.go index 89547d4..2140425 100644 --- a/models/operations/createcertificate.go +++ b/models/operations/createcertificate.go @@ -8,7 +8,7 @@ import ( ) type CreateCertificateRequest struct { - // The UUID of your control plane. This variable is available in the Konnect manager + // The UUID of your control plane. This variable is available in the Konnect manager. ControlPlaneID string `pathParam:"style=simple,explode=false,name=controlPlaneId"` // Description of the new Certificate for creation Certificate components.CertificateInput `request:"mediaType=application/json"` diff --git a/models/operations/createconsumer.go b/models/operations/createconsumer.go index d27082a..f605c60 100644 --- a/models/operations/createconsumer.go +++ b/models/operations/createconsumer.go @@ -8,7 +8,7 @@ import ( ) type CreateConsumerRequest struct { - // The UUID of your control plane. This variable is available in the Konnect manager + // The UUID of your control plane. This variable is available in the Konnect manager. ControlPlaneID string `pathParam:"style=simple,explode=false,name=controlPlaneId"` // Description of the new Consumer for creation Consumer components.ConsumerInput `request:"mediaType=application/json"` diff --git a/models/operations/createconsumergroup.go b/models/operations/createconsumergroup.go index b561923..04b8b47 100644 --- a/models/operations/createconsumergroup.go +++ b/models/operations/createconsumergroup.go @@ -8,7 +8,7 @@ import ( ) type CreateConsumerGroupRequest struct { - // The UUID of your control plane. This variable is available in the Konnect manager + // The UUID of your control plane. This variable is available in the Konnect manager. ControlPlaneID string `pathParam:"style=simple,explode=false,name=controlPlaneId"` // Description of the new Consumer Group for creation ConsumerGroup components.ConsumerGroupInput `request:"mediaType=application/json"` diff --git a/models/operations/createdataplanecertificate.go b/models/operations/createdataplanecertificate.go index d3e0c27..423c405 100644 --- a/models/operations/createdataplanecertificate.go +++ b/models/operations/createdataplanecertificate.go @@ -8,7 +8,7 @@ import ( ) type CreateDataplaneCertificateRequest struct { - // The UUID of your control plane. This variable is available in the Konnect manager + // The UUID of your control plane. This variable is available in the Konnect manager. ControlPlaneID string `pathParam:"style=simple,explode=false,name=controlPlaneId"` // Request body for creating a dp-client-certificate. DataPlaneClientCertificateRequest *components.DataPlaneClientCertificateRequest `request:"mediaType=application/json"` diff --git a/models/operations/createhmacauthwithconsumer.go b/models/operations/createhmacauthwithconsumer.go index 4222c6e..1777013 100644 --- a/models/operations/createhmacauthwithconsumer.go +++ b/models/operations/createhmacauthwithconsumer.go @@ -8,7 +8,7 @@ import ( ) type CreateHmacAuthWithConsumerRequest struct { - // The UUID of your control plane. This variable is available in the Konnect manager + // The UUID of your control plane. This variable is available in the Konnect manager. ControlPlaneID string `pathParam:"style=simple,explode=false,name=controlPlaneId"` // Consumer ID for nested entities ConsumerIDForNestedEntities string `pathParam:"style=simple,explode=false,name=ConsumerIdForNestedEntities"` diff --git a/models/operations/createjwtwithconsumer.go b/models/operations/createjwtwithconsumer.go index 17205de..be067e3 100644 --- a/models/operations/createjwtwithconsumer.go +++ b/models/operations/createjwtwithconsumer.go @@ -8,7 +8,7 @@ import ( ) type CreateJwtWithConsumerRequest struct { - // The UUID of your control plane. This variable is available in the Konnect manager + // The UUID of your control plane. This variable is available in the Konnect manager. ControlPlaneID string `pathParam:"style=simple,explode=false,name=controlPlaneId"` // Consumer ID for nested entities ConsumerIDForNestedEntities string `pathParam:"style=simple,explode=false,name=ConsumerIdForNestedEntities"` diff --git a/models/operations/createkey.go b/models/operations/createkey.go index 854a4ce..930f1b1 100644 --- a/models/operations/createkey.go +++ b/models/operations/createkey.go @@ -8,7 +8,7 @@ import ( ) type CreateKeyRequest struct { - // The UUID of your control plane. This variable is available in the Konnect manager + // The UUID of your control plane. This variable is available in the Konnect manager. ControlPlaneID string `pathParam:"style=simple,explode=false,name=controlPlaneId"` // Description of the new Key for creation Key components.KeyInput `request:"mediaType=application/json"` diff --git a/models/operations/createkeyauthwithconsumer.go b/models/operations/createkeyauthwithconsumer.go index 65c1648..d744a46 100644 --- a/models/operations/createkeyauthwithconsumer.go +++ b/models/operations/createkeyauthwithconsumer.go @@ -8,7 +8,7 @@ import ( ) type CreateKeyAuthWithConsumerRequest struct { - // The UUID of your control plane. This variable is available in the Konnect manager + // The UUID of your control plane. This variable is available in the Konnect manager. ControlPlaneID string `pathParam:"style=simple,explode=false,name=controlPlaneId"` // Consumer ID for nested entities ConsumerIDForNestedEntities string `pathParam:"style=simple,explode=false,name=ConsumerIdForNestedEntities"` diff --git a/models/operations/createkeyset.go b/models/operations/createkeyset.go index c969e09..f1d0546 100644 --- a/models/operations/createkeyset.go +++ b/models/operations/createkeyset.go @@ -8,7 +8,7 @@ import ( ) type CreateKeySetRequest struct { - // The UUID of your control plane. This variable is available in the Konnect manager + // The UUID of your control plane. This variable is available in the Konnect manager. ControlPlaneID string `pathParam:"style=simple,explode=false,name=controlPlaneId"` // Description of the new KeySet for creation KeySet components.KeySetInput `request:"mediaType=application/json"` diff --git a/models/operations/createplugin.go b/models/operations/createplugin.go index 3e59fbc..60b0d91 100644 --- a/models/operations/createplugin.go +++ b/models/operations/createplugin.go @@ -8,7 +8,7 @@ import ( ) type CreatePluginRequest struct { - // The UUID of your control plane. This variable is available in the Konnect manager + // The UUID of your control plane. This variable is available in the Konnect manager. ControlPlaneID string `pathParam:"style=simple,explode=false,name=controlPlaneId"` // Description of the new Plugin for creation Plugin components.PluginInput `request:"mediaType=application/json"` diff --git a/models/operations/createpluginschemas.go b/models/operations/createpluginschemas.go index 1cc892b..9adf415 100644 --- a/models/operations/createpluginschemas.go +++ b/models/operations/createpluginschemas.go @@ -8,7 +8,7 @@ import ( ) type CreatePluginSchemasRequest struct { - // The UUID of your control plane. This variable is available in the Konnect manager + // The UUID of your control plane. This variable is available in the Konnect manager. ControlPlaneID string `pathParam:"style=simple,explode=false,name=controlPlaneId"` CreatePluginSchemas *components.CreatePluginSchemas `request:"mediaType=application/json"` } diff --git a/models/operations/createpluginwithroute.go b/models/operations/createpluginwithroute.go index 81af090..5bfc2d6 100644 --- a/models/operations/createpluginwithroute.go +++ b/models/operations/createpluginwithroute.go @@ -8,7 +8,7 @@ import ( ) type CreatePluginWithRouteRequest struct { - // The UUID of your control plane. This variable is available in the Konnect manager + // The UUID of your control plane. This variable is available in the Konnect manager. ControlPlaneID string `pathParam:"style=simple,explode=false,name=controlPlaneId"` // ID of the Route to lookup RouteID string `pathParam:"style=simple,explode=false,name=RouteId"` diff --git a/models/operations/createpluginwithservice.go b/models/operations/createpluginwithservice.go index c26cbea..6ae233d 100644 --- a/models/operations/createpluginwithservice.go +++ b/models/operations/createpluginwithservice.go @@ -8,7 +8,7 @@ import ( ) type CreatePluginWithServiceRequest struct { - // The UUID of your control plane. This variable is available in the Konnect manager + // The UUID of your control plane. This variable is available in the Konnect manager. ControlPlaneID string `pathParam:"style=simple,explode=false,name=controlPlaneId"` // ID of the Service to lookup ServiceID string `pathParam:"style=simple,explode=false,name=ServiceId"` diff --git a/models/operations/createroute.go b/models/operations/createroute.go index acb02e2..f3bdb28 100644 --- a/models/operations/createroute.go +++ b/models/operations/createroute.go @@ -8,7 +8,7 @@ import ( ) type CreateRouteRequest struct { - // The UUID of your control plane. This variable is available in the Konnect manager + // The UUID of your control plane. This variable is available in the Konnect manager. ControlPlaneID string `pathParam:"style=simple,explode=false,name=controlPlaneId"` // Description of the new Route for creation Route components.RouteInput `request:"mediaType=application/json"` diff --git a/models/operations/createroutewithservice.go b/models/operations/createroutewithservice.go index bf4d199..2ea4ea5 100644 --- a/models/operations/createroutewithservice.go +++ b/models/operations/createroutewithservice.go @@ -8,7 +8,7 @@ import ( ) type CreateRouteWithServiceRequest struct { - // The UUID of your control plane. This variable is available in the Konnect manager + // The UUID of your control plane. This variable is available in the Konnect manager. ControlPlaneID string `pathParam:"style=simple,explode=false,name=controlPlaneId"` // ID of the Service to lookup ServiceID string `pathParam:"style=simple,explode=false,name=ServiceId"` diff --git a/models/operations/createserverlesscloudgateway.go b/models/operations/createserverlesscloudgateway.go deleted file mode 100644 index 183daa6..0000000 --- a/models/operations/createserverlesscloudgateway.go +++ /dev/null @@ -1,51 +0,0 @@ -// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - -package operations - -import ( - "github.com/Kong/sdk-konnect-go/models/components" - "net/http" -) - -var CreateServerlessCloudGatewayServerList = []string{ - "https://global.api.konghq.com/", -} - -type CreateServerlessCloudGatewayResponse struct { - // HTTP response content type for this operation - ContentType string - // HTTP response status code for this operation - StatusCode int - // Raw HTTP response; suitable for custom response parsing - RawResponse *http.Response - // A response to creating a serverless cloud gateway. - ServerlessCloudGateway *components.ServerlessCloudGateway -} - -func (o *CreateServerlessCloudGatewayResponse) GetContentType() string { - if o == nil { - return "" - } - return o.ContentType -} - -func (o *CreateServerlessCloudGatewayResponse) GetStatusCode() int { - if o == nil { - return 0 - } - return o.StatusCode -} - -func (o *CreateServerlessCloudGatewayResponse) GetRawResponse() *http.Response { - if o == nil { - return nil - } - return o.RawResponse -} - -func (o *CreateServerlessCloudGatewayResponse) GetServerlessCloudGateway() *components.ServerlessCloudGateway { - if o == nil { - return nil - } - return o.ServerlessCloudGateway -} diff --git a/models/operations/createservice.go b/models/operations/createservice.go index 4fa52dd..3a05f34 100644 --- a/models/operations/createservice.go +++ b/models/operations/createservice.go @@ -8,7 +8,7 @@ import ( ) type CreateServiceRequest struct { - // The UUID of your control plane. This variable is available in the Konnect manager + // The UUID of your control plane. This variable is available in the Konnect manager. ControlPlaneID string `pathParam:"style=simple,explode=false,name=controlPlaneId"` // Description of the new Service for creation Service components.ServiceInput `request:"mediaType=application/json"` diff --git a/models/operations/createsni.go b/models/operations/createsni.go index c218dd2..b417ea0 100644 --- a/models/operations/createsni.go +++ b/models/operations/createsni.go @@ -8,7 +8,7 @@ import ( ) type CreateSniRequest struct { - // The UUID of your control plane. This variable is available in the Konnect manager + // The UUID of your control plane. This variable is available in the Konnect manager. ControlPlaneID string `pathParam:"style=simple,explode=false,name=controlPlaneId"` // Description of the new SNI for creation Sni components.SNIInput `request:"mediaType=application/json"` diff --git a/models/operations/createsniwithcertificate.go b/models/operations/createsniwithcertificate.go index c1bfdc7..619b97b 100644 --- a/models/operations/createsniwithcertificate.go +++ b/models/operations/createsniwithcertificate.go @@ -8,7 +8,7 @@ import ( ) type CreateSniWithCertificateRequest struct { - // The UUID of your control plane. This variable is available in the Konnect manager + // The UUID of your control plane. This variable is available in the Konnect manager. ControlPlaneID string `pathParam:"style=simple,explode=false,name=controlPlaneId"` // ID of the Certificate to lookup CertificateID string `pathParam:"style=simple,explode=false,name=CertificateId"` diff --git a/models/operations/createtargetwithupstream.go b/models/operations/createtargetwithupstream.go index 93498a1..c6e3d9a 100644 --- a/models/operations/createtargetwithupstream.go +++ b/models/operations/createtargetwithupstream.go @@ -8,7 +8,7 @@ import ( ) type CreateTargetWithUpstreamRequest struct { - // The UUID of your control plane. This variable is available in the Konnect manager + // The UUID of your control plane. This variable is available in the Konnect manager. ControlPlaneID string `pathParam:"style=simple,explode=false,name=controlPlaneId"` // ID or target of the Target to lookup UpstreamIDForTarget string `pathParam:"style=simple,explode=false,name=UpstreamIdForTarget"` diff --git a/models/operations/createupstream.go b/models/operations/createupstream.go index 9a70e6b..8860b2b 100644 --- a/models/operations/createupstream.go +++ b/models/operations/createupstream.go @@ -8,7 +8,7 @@ import ( ) type CreateUpstreamRequest struct { - // The UUID of your control plane. This variable is available in the Konnect manager + // The UUID of your control plane. This variable is available in the Konnect manager. ControlPlaneID string `pathParam:"style=simple,explode=false,name=controlPlaneId"` // Description of the new Upstream for creation Upstream components.UpstreamInput `request:"mediaType=application/json"` diff --git a/models/operations/createvault.go b/models/operations/createvault.go index 91d90b7..9dc6bb7 100644 --- a/models/operations/createvault.go +++ b/models/operations/createvault.go @@ -8,7 +8,7 @@ import ( ) type CreateVaultRequest struct { - // The UUID of your control plane. This variable is available in the Konnect manager + // The UUID of your control plane. This variable is available in the Konnect manager. ControlPlaneID string `pathParam:"style=simple,explode=false,name=controlPlaneId"` // Description of the new Vault for creation Vault components.VaultInput `request:"mediaType=application/json"` diff --git a/models/operations/deleteaclwithconsumer.go b/models/operations/deleteaclwithconsumer.go index 4fa1172..3c6b490 100644 --- a/models/operations/deleteaclwithconsumer.go +++ b/models/operations/deleteaclwithconsumer.go @@ -7,7 +7,7 @@ import ( ) type DeleteACLWithConsumerRequest struct { - // The UUID of your control plane. This variable is available in the Konnect manager + // The UUID of your control plane. This variable is available in the Konnect manager. ControlPlaneID string `pathParam:"style=simple,explode=false,name=controlPlaneId"` // Consumer ID for nested entities ConsumerIDForNestedEntities string `pathParam:"style=simple,explode=false,name=ConsumerIdForNestedEntities"` diff --git a/models/operations/deletebasicauthwithconsumer.go b/models/operations/deletebasicauthwithconsumer.go index ef6f5f9..581af0d 100644 --- a/models/operations/deletebasicauthwithconsumer.go +++ b/models/operations/deletebasicauthwithconsumer.go @@ -7,7 +7,7 @@ import ( ) type DeleteBasicAuthWithConsumerRequest struct { - // The UUID of your control plane. This variable is available in the Konnect manager + // The UUID of your control plane. This variable is available in the Konnect manager. ControlPlaneID string `pathParam:"style=simple,explode=false,name=controlPlaneId"` // Consumer ID for nested entities ConsumerIDForNestedEntities string `pathParam:"style=simple,explode=false,name=ConsumerIdForNestedEntities"` diff --git a/models/operations/deletecacertificate.go b/models/operations/deletecacertificate.go index 65e8ac5..6654690 100644 --- a/models/operations/deletecacertificate.go +++ b/models/operations/deletecacertificate.go @@ -7,7 +7,7 @@ import ( ) type DeleteCaCertificateRequest struct { - // The UUID of your control plane. This variable is available in the Konnect manager + // The UUID of your control plane. This variable is available in the Konnect manager. ControlPlaneID string `pathParam:"style=simple,explode=false,name=controlPlaneId"` // ID of the CA Certificate to lookup CACertificateID string `pathParam:"style=simple,explode=false,name=CACertificateId"` diff --git a/models/operations/deletecertificate.go b/models/operations/deletecertificate.go index e627815..47e0b2d 100644 --- a/models/operations/deletecertificate.go +++ b/models/operations/deletecertificate.go @@ -7,7 +7,7 @@ import ( ) type DeleteCertificateRequest struct { - // The UUID of your control plane. This variable is available in the Konnect manager + // The UUID of your control plane. This variable is available in the Konnect manager. ControlPlaneID string `pathParam:"style=simple,explode=false,name=controlPlaneId"` // ID of the Certificate to lookup CertificateID string `pathParam:"style=simple,explode=false,name=CertificateId"` diff --git a/models/operations/deleteconsumer.go b/models/operations/deleteconsumer.go index 450495c..8f6e790 100644 --- a/models/operations/deleteconsumer.go +++ b/models/operations/deleteconsumer.go @@ -7,7 +7,7 @@ import ( ) type DeleteConsumerRequest struct { - // The UUID of your control plane. This variable is available in the Konnect manager + // The UUID of your control plane. This variable is available in the Konnect manager. ControlPlaneID string `pathParam:"style=simple,explode=false,name=controlPlaneId"` // ID of the Consumer to lookup ConsumerID string `pathParam:"style=simple,explode=false,name=ConsumerId"` diff --git a/models/operations/deleteconsumergroup.go b/models/operations/deleteconsumergroup.go index 0a58f5b..0f01e38 100644 --- a/models/operations/deleteconsumergroup.go +++ b/models/operations/deleteconsumergroup.go @@ -7,7 +7,7 @@ import ( ) type DeleteConsumerGroupRequest struct { - // The UUID of your control plane. This variable is available in the Konnect manager + // The UUID of your control plane. This variable is available in the Konnect manager. ControlPlaneID string `pathParam:"style=simple,explode=false,name=controlPlaneId"` // ID of the Consumer Group to lookup ConsumerGroupID string `pathParam:"style=simple,explode=false,name=ConsumerGroupId"` diff --git a/models/operations/deletedataplanecertificate.go b/models/operations/deletedataplanecertificate.go index 1516289..b43cecf 100644 --- a/models/operations/deletedataplanecertificate.go +++ b/models/operations/deletedataplanecertificate.go @@ -7,7 +7,7 @@ import ( ) type DeleteDataplaneCertificateRequest struct { - // The UUID of your control plane. This variable is available in the Konnect manager + // The UUID of your control plane. This variable is available in the Konnect manager. ControlPlaneID string `pathParam:"style=simple,explode=false,name=controlPlaneId"` CertificateID string `pathParam:"style=simple,explode=false,name=certificateId"` } diff --git a/models/operations/deletehmacauthwithconsumer.go b/models/operations/deletehmacauthwithconsumer.go index e27ec78..3f1b867 100644 --- a/models/operations/deletehmacauthwithconsumer.go +++ b/models/operations/deletehmacauthwithconsumer.go @@ -7,7 +7,7 @@ import ( ) type DeleteHmacAuthWithConsumerRequest struct { - // The UUID of your control plane. This variable is available in the Konnect manager + // The UUID of your control plane. This variable is available in the Konnect manager. ControlPlaneID string `pathParam:"style=simple,explode=false,name=controlPlaneId"` // Consumer ID for nested entities ConsumerIDForNestedEntities string `pathParam:"style=simple,explode=false,name=ConsumerIdForNestedEntities"` diff --git a/models/operations/deletejwtwithconsumer.go b/models/operations/deletejwtwithconsumer.go index 10f4f62..e5be8fc 100644 --- a/models/operations/deletejwtwithconsumer.go +++ b/models/operations/deletejwtwithconsumer.go @@ -7,7 +7,7 @@ import ( ) type DeleteJwtWithConsumerRequest struct { - // The UUID of your control plane. This variable is available in the Konnect manager + // The UUID of your control plane. This variable is available in the Konnect manager. ControlPlaneID string `pathParam:"style=simple,explode=false,name=controlPlaneId"` // Consumer ID for nested entities ConsumerIDForNestedEntities string `pathParam:"style=simple,explode=false,name=ConsumerIdForNestedEntities"` diff --git a/models/operations/deletekey.go b/models/operations/deletekey.go index afcf9e4..b0fa6e6 100644 --- a/models/operations/deletekey.go +++ b/models/operations/deletekey.go @@ -7,7 +7,7 @@ import ( ) type DeleteKeyRequest struct { - // The UUID of your control plane. This variable is available in the Konnect manager + // The UUID of your control plane. This variable is available in the Konnect manager. ControlPlaneID string `pathParam:"style=simple,explode=false,name=controlPlaneId"` // ID of the Key to lookup KeyID string `pathParam:"style=simple,explode=false,name=KeyId"` diff --git a/models/operations/deletekeyauthwithconsumer.go b/models/operations/deletekeyauthwithconsumer.go index 92a11ff..77546be 100644 --- a/models/operations/deletekeyauthwithconsumer.go +++ b/models/operations/deletekeyauthwithconsumer.go @@ -7,7 +7,7 @@ import ( ) type DeleteKeyAuthWithConsumerRequest struct { - // The UUID of your control plane. This variable is available in the Konnect manager + // The UUID of your control plane. This variable is available in the Konnect manager. ControlPlaneID string `pathParam:"style=simple,explode=false,name=controlPlaneId"` // Consumer ID for nested entities ConsumerIDForNestedEntities string `pathParam:"style=simple,explode=false,name=ConsumerIdForNestedEntities"` diff --git a/models/operations/deletekeyset.go b/models/operations/deletekeyset.go index f2b4f05..1b17e1e 100644 --- a/models/operations/deletekeyset.go +++ b/models/operations/deletekeyset.go @@ -7,7 +7,7 @@ import ( ) type DeleteKeySetRequest struct { - // The UUID of your control plane. This variable is available in the Konnect manager + // The UUID of your control plane. This variable is available in the Konnect manager. ControlPlaneID string `pathParam:"style=simple,explode=false,name=controlPlaneId"` // ID of the KeySet to lookup KeySetID string `pathParam:"style=simple,explode=false,name=KeySetId"` diff --git a/models/operations/deletenodesnodeid.go b/models/operations/deletenodesnodeid.go index b64b1f0..69c0ced 100644 --- a/models/operations/deletenodesnodeid.go +++ b/models/operations/deletenodesnodeid.go @@ -8,7 +8,7 @@ import ( type DeleteNodesNodeIDRequest struct { NodeID string `pathParam:"style=simple,explode=false,name=nodeId"` - // The UUID of your control plane. This variable is available in the Konnect manager + // The UUID of your control plane. This variable is available in the Konnect manager. ControlPlaneID string `pathParam:"style=simple,explode=false,name=controlPlaneId"` } diff --git a/models/operations/deleteplugin.go b/models/operations/deleteplugin.go index ba1de0b..f2d6a7e 100644 --- a/models/operations/deleteplugin.go +++ b/models/operations/deleteplugin.go @@ -7,7 +7,7 @@ import ( ) type DeletePluginRequest struct { - // The UUID of your control plane. This variable is available in the Konnect manager + // The UUID of your control plane. This variable is available in the Konnect manager. ControlPlaneID string `pathParam:"style=simple,explode=false,name=controlPlaneId"` // ID of the Plugin to lookup PluginID string `pathParam:"style=simple,explode=false,name=PluginId"` diff --git a/models/operations/deletepluginschemas.go b/models/operations/deletepluginschemas.go index 42a0612..9cc7c22 100644 --- a/models/operations/deletepluginschemas.go +++ b/models/operations/deletepluginschemas.go @@ -7,7 +7,7 @@ import ( ) type DeletePluginSchemasRequest struct { - // The UUID of your control plane. This variable is available in the Konnect manager + // The UUID of your control plane. This variable is available in the Konnect manager. ControlPlaneID string `pathParam:"style=simple,explode=false,name=controlPlaneId"` // The custom plugin name Name string `pathParam:"style=simple,explode=false,name=name"` diff --git a/models/operations/deletepluginwithroute.go b/models/operations/deletepluginwithroute.go index a439d7b..130f7e4 100644 --- a/models/operations/deletepluginwithroute.go +++ b/models/operations/deletepluginwithroute.go @@ -7,7 +7,7 @@ import ( ) type DeletePluginWithRouteRequest struct { - // The UUID of your control plane. This variable is available in the Konnect manager + // The UUID of your control plane. This variable is available in the Konnect manager. ControlPlaneID string `pathParam:"style=simple,explode=false,name=controlPlaneId"` // ID of the Route to lookup RouteID string `pathParam:"style=simple,explode=false,name=RouteId"` diff --git a/models/operations/deletepluginwithservice.go b/models/operations/deletepluginwithservice.go index 5a4fa62..0a838a3 100644 --- a/models/operations/deletepluginwithservice.go +++ b/models/operations/deletepluginwithservice.go @@ -7,7 +7,7 @@ import ( ) type DeletePluginWithServiceRequest struct { - // The UUID of your control plane. This variable is available in the Konnect manager + // The UUID of your control plane. This variable is available in the Konnect manager. ControlPlaneID string `pathParam:"style=simple,explode=false,name=controlPlaneId"` // ID of the Service to lookup ServiceID string `pathParam:"style=simple,explode=false,name=ServiceId"` diff --git a/models/operations/deleteroute.go b/models/operations/deleteroute.go index d12d6d7..df10ebd 100644 --- a/models/operations/deleteroute.go +++ b/models/operations/deleteroute.go @@ -7,7 +7,7 @@ import ( ) type DeleteRouteRequest struct { - // The UUID of your control plane. This variable is available in the Konnect manager + // The UUID of your control plane. This variable is available in the Konnect manager. ControlPlaneID string `pathParam:"style=simple,explode=false,name=controlPlaneId"` // ID of the Route to lookup RouteID string `pathParam:"style=simple,explode=false,name=RouteId"` diff --git a/models/operations/deleteroutewithservice.go b/models/operations/deleteroutewithservice.go index b99a57c..a3e57e8 100644 --- a/models/operations/deleteroutewithservice.go +++ b/models/operations/deleteroutewithservice.go @@ -7,7 +7,7 @@ import ( ) type DeleteRouteWithServiceRequest struct { - // The UUID of your control plane. This variable is available in the Konnect manager + // The UUID of your control plane. This variable is available in the Konnect manager. ControlPlaneID string `pathParam:"style=simple,explode=false,name=controlPlaneId"` // ID of the Service to lookup ServiceID string `pathParam:"style=simple,explode=false,name=ServiceId"` diff --git a/models/operations/deleteserverlesscloudgateway.go b/models/operations/deleteserverlesscloudgateway.go deleted file mode 100644 index e2fe53d..0000000 --- a/models/operations/deleteserverlesscloudgateway.go +++ /dev/null @@ -1,53 +0,0 @@ -// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - -package operations - -import ( - "net/http" -) - -var DeleteServerlessCloudGatewayServerList = []string{ - "https://global.api.konghq.com/", -} - -type DeleteServerlessCloudGatewayRequest struct { - // Id of the Serverless Cloud Gateway control plane - ControlPlaneID string `pathParam:"style=simple,explode=false,name=controlPlaneId"` -} - -func (o *DeleteServerlessCloudGatewayRequest) GetControlPlaneID() string { - if o == nil { - return "" - } - return o.ControlPlaneID -} - -type DeleteServerlessCloudGatewayResponse struct { - // HTTP response content type for this operation - ContentType string - // HTTP response status code for this operation - StatusCode int - // Raw HTTP response; suitable for custom response parsing - RawResponse *http.Response -} - -func (o *DeleteServerlessCloudGatewayResponse) GetContentType() string { - if o == nil { - return "" - } - return o.ContentType -} - -func (o *DeleteServerlessCloudGatewayResponse) GetStatusCode() int { - if o == nil { - return 0 - } - return o.StatusCode -} - -func (o *DeleteServerlessCloudGatewayResponse) GetRawResponse() *http.Response { - if o == nil { - return nil - } - return o.RawResponse -} diff --git a/models/operations/deleteservice.go b/models/operations/deleteservice.go index 7d97bb3..941039c 100644 --- a/models/operations/deleteservice.go +++ b/models/operations/deleteservice.go @@ -7,7 +7,7 @@ import ( ) type DeleteServiceRequest struct { - // The UUID of your control plane. This variable is available in the Konnect manager + // The UUID of your control plane. This variable is available in the Konnect manager. ControlPlaneID string `pathParam:"style=simple,explode=false,name=controlPlaneId"` // ID of the Service to lookup ServiceID string `pathParam:"style=simple,explode=false,name=ServiceId"` diff --git a/models/operations/deletesni.go b/models/operations/deletesni.go index 5e153ba..a15e3aa 100644 --- a/models/operations/deletesni.go +++ b/models/operations/deletesni.go @@ -7,7 +7,7 @@ import ( ) type DeleteSniRequest struct { - // The UUID of your control plane. This variable is available in the Konnect manager + // The UUID of your control plane. This variable is available in the Konnect manager. ControlPlaneID string `pathParam:"style=simple,explode=false,name=controlPlaneId"` // ID of the SNI to lookup SNIID string `pathParam:"style=simple,explode=false,name=SNIId"` diff --git a/models/operations/deletesniwithcertificate.go b/models/operations/deletesniwithcertificate.go index 9991d77..a2782ac 100644 --- a/models/operations/deletesniwithcertificate.go +++ b/models/operations/deletesniwithcertificate.go @@ -7,7 +7,7 @@ import ( ) type DeleteSniWithCertificateRequest struct { - // The UUID of your control plane. This variable is available in the Konnect manager + // The UUID of your control plane. This variable is available in the Konnect manager. ControlPlaneID string `pathParam:"style=simple,explode=false,name=controlPlaneId"` // ID of the Certificate to lookup CertificateID string `pathParam:"style=simple,explode=false,name=CertificateId"` diff --git a/models/operations/deletetargetwithupstream.go b/models/operations/deletetargetwithupstream.go index 8ebc861..aa36830 100644 --- a/models/operations/deletetargetwithupstream.go +++ b/models/operations/deletetargetwithupstream.go @@ -7,7 +7,7 @@ import ( ) type DeleteTargetWithUpstreamRequest struct { - // The UUID of your control plane. This variable is available in the Konnect manager + // The UUID of your control plane. This variable is available in the Konnect manager. ControlPlaneID string `pathParam:"style=simple,explode=false,name=controlPlaneId"` // ID or target of the Target to lookup UpstreamIDForTarget string `pathParam:"style=simple,explode=false,name=UpstreamIdForTarget"` diff --git a/models/operations/deleteupstream.go b/models/operations/deleteupstream.go index d01748f..e6abde8 100644 --- a/models/operations/deleteupstream.go +++ b/models/operations/deleteupstream.go @@ -7,7 +7,7 @@ import ( ) type DeleteUpstreamRequest struct { - // The UUID of your control plane. This variable is available in the Konnect manager + // The UUID of your control plane. This variable is available in the Konnect manager. ControlPlaneID string `pathParam:"style=simple,explode=false,name=controlPlaneId"` // ID of the Upstream to lookup UpstreamID string `pathParam:"style=simple,explode=false,name=UpstreamId"` diff --git a/models/operations/deletevault.go b/models/operations/deletevault.go index c1d574c..cfb04bd 100644 --- a/models/operations/deletevault.go +++ b/models/operations/deletevault.go @@ -7,7 +7,7 @@ import ( ) type DeleteVaultRequest struct { - // The UUID of your control plane. This variable is available in the Konnect manager + // The UUID of your control plane. This variable is available in the Konnect manager. ControlPlaneID string `pathParam:"style=simple,explode=false,name=controlPlaneId"` // ID of the Vault to lookup VaultID string `pathParam:"style=simple,explode=false,name=VaultId"` diff --git a/models/operations/fetchpluginschema.go b/models/operations/fetchpluginschema.go index d498c65..8e8278e 100644 --- a/models/operations/fetchpluginschema.go +++ b/models/operations/fetchpluginschema.go @@ -9,7 +9,7 @@ import ( type FetchPluginSchemaRequest struct { // The name of the plugin PluginName string `pathParam:"style=simple,explode=false,name=pluginName"` - // The UUID of your control plane. This variable is available in the Konnect manager + // The UUID of your control plane. This variable is available in the Konnect manager. ControlPlaneID string `pathParam:"style=simple,explode=false,name=controlPlaneId"` } diff --git a/models/operations/getaclwithconsumer.go b/models/operations/getaclwithconsumer.go index bf794d5..03fbffb 100644 --- a/models/operations/getaclwithconsumer.go +++ b/models/operations/getaclwithconsumer.go @@ -8,7 +8,7 @@ import ( ) type GetACLWithConsumerRequest struct { - // The UUID of your control plane. This variable is available in the Konnect manager + // The UUID of your control plane. This variable is available in the Konnect manager. ControlPlaneID string `pathParam:"style=simple,explode=false,name=controlPlaneId"` // Consumer ID for nested entities ConsumerIDForNestedEntities string `pathParam:"style=simple,explode=false,name=ConsumerIdForNestedEntities"` diff --git a/models/operations/getbasicauthwithconsumer.go b/models/operations/getbasicauthwithconsumer.go index 3b41cf6..ed2b67c 100644 --- a/models/operations/getbasicauthwithconsumer.go +++ b/models/operations/getbasicauthwithconsumer.go @@ -8,7 +8,7 @@ import ( ) type GetBasicAuthWithConsumerRequest struct { - // The UUID of your control plane. This variable is available in the Konnect manager + // The UUID of your control plane. This variable is available in the Konnect manager. ControlPlaneID string `pathParam:"style=simple,explode=false,name=controlPlaneId"` // Consumer ID for nested entities ConsumerIDForNestedEntities string `pathParam:"style=simple,explode=false,name=ConsumerIdForNestedEntities"` diff --git a/models/operations/getcacertificate.go b/models/operations/getcacertificate.go index 6bf8f13..3910ab9 100644 --- a/models/operations/getcacertificate.go +++ b/models/operations/getcacertificate.go @@ -10,7 +10,7 @@ import ( type GetCaCertificateRequest struct { // ID of the CA Certificate to lookup CACertificateID string `pathParam:"style=simple,explode=false,name=CACertificateId"` - // The UUID of your control plane. This variable is available in the Konnect manager + // The UUID of your control plane. This variable is available in the Konnect manager. ControlPlaneID string `pathParam:"style=simple,explode=false,name=controlPlaneId"` } diff --git a/models/operations/getcertificate.go b/models/operations/getcertificate.go index faf8c13..68ac637 100644 --- a/models/operations/getcertificate.go +++ b/models/operations/getcertificate.go @@ -10,7 +10,7 @@ import ( type GetCertificateRequest struct { // ID of the Certificate to lookup CertificateID string `pathParam:"style=simple,explode=false,name=CertificateId"` - // The UUID of your control plane. This variable is available in the Konnect manager + // The UUID of your control plane. This variable is available in the Konnect manager. ControlPlaneID string `pathParam:"style=simple,explode=false,name=controlPlaneId"` } diff --git a/models/operations/getconsumer.go b/models/operations/getconsumer.go index b781e7a..36110bf 100644 --- a/models/operations/getconsumer.go +++ b/models/operations/getconsumer.go @@ -10,7 +10,7 @@ import ( type GetConsumerRequest struct { // ID of the Consumer to lookup ConsumerID string `pathParam:"style=simple,explode=false,name=ConsumerId"` - // The UUID of your control plane. This variable is available in the Konnect manager + // The UUID of your control plane. This variable is available in the Konnect manager. ControlPlaneID string `pathParam:"style=simple,explode=false,name=controlPlaneId"` } diff --git a/models/operations/getconsumergroup.go b/models/operations/getconsumergroup.go index e77d757..5d35e6e 100644 --- a/models/operations/getconsumergroup.go +++ b/models/operations/getconsumergroup.go @@ -10,7 +10,7 @@ import ( type GetConsumerGroupRequest struct { // ID of the Consumer Group to lookup ConsumerGroupID string `pathParam:"style=simple,explode=false,name=ConsumerGroupId"` - // The UUID of your control plane. This variable is available in the Konnect manager + // The UUID of your control plane. This variable is available in the Konnect manager. ControlPlaneID string `pathParam:"style=simple,explode=false,name=controlPlaneId"` } diff --git a/models/operations/getdataplanecertificate.go b/models/operations/getdataplanecertificate.go index ba0e1f2..83f33ed 100644 --- a/models/operations/getdataplanecertificate.go +++ b/models/operations/getdataplanecertificate.go @@ -8,7 +8,7 @@ import ( ) type GetDataplaneCertificateRequest struct { - // The UUID of your control plane. This variable is available in the Konnect manager + // The UUID of your control plane. This variable is available in the Konnect manager. ControlPlaneID string `pathParam:"style=simple,explode=false,name=controlPlaneId"` CertificateID string `pathParam:"style=simple,explode=false,name=certificateId"` } diff --git a/models/operations/getexpectedconfighash.go b/models/operations/getexpectedconfighash.go index cd2d393..eb262ea 100644 --- a/models/operations/getexpectedconfighash.go +++ b/models/operations/getexpectedconfighash.go @@ -8,7 +8,7 @@ import ( ) type GetExpectedConfigHashRequest struct { - // The UUID of your control plane. This variable is available in the Konnect manager + // The UUID of your control plane. This variable is available in the Konnect manager. ControlPlaneID string `pathParam:"style=simple,explode=false,name=controlPlaneId"` } diff --git a/models/operations/gethmacauthwithconsumer.go b/models/operations/gethmacauthwithconsumer.go index 58a9e4c..d979e3f 100644 --- a/models/operations/gethmacauthwithconsumer.go +++ b/models/operations/gethmacauthwithconsumer.go @@ -8,7 +8,7 @@ import ( ) type GetHmacAuthWithConsumerRequest struct { - // The UUID of your control plane. This variable is available in the Konnect manager + // The UUID of your control plane. This variable is available in the Konnect manager. ControlPlaneID string `pathParam:"style=simple,explode=false,name=controlPlaneId"` // Consumer ID for nested entities ConsumerIDForNestedEntities string `pathParam:"style=simple,explode=false,name=ConsumerIdForNestedEntities"` diff --git a/models/operations/getjwtwithconsumer.go b/models/operations/getjwtwithconsumer.go index 8f99e64..d22957e 100644 --- a/models/operations/getjwtwithconsumer.go +++ b/models/operations/getjwtwithconsumer.go @@ -8,7 +8,7 @@ import ( ) type GetJwtWithConsumerRequest struct { - // The UUID of your control plane. This variable is available in the Konnect manager + // The UUID of your control plane. This variable is available in the Konnect manager. ControlPlaneID string `pathParam:"style=simple,explode=false,name=controlPlaneId"` // Consumer ID for nested entities ConsumerIDForNestedEntities string `pathParam:"style=simple,explode=false,name=ConsumerIdForNestedEntities"` diff --git a/models/operations/getkey.go b/models/operations/getkey.go index a9e147e..b611c18 100644 --- a/models/operations/getkey.go +++ b/models/operations/getkey.go @@ -10,7 +10,7 @@ import ( type GetKeyRequest struct { // ID of the Key to lookup KeyID string `pathParam:"style=simple,explode=false,name=KeyId"` - // The UUID of your control plane. This variable is available in the Konnect manager + // The UUID of your control plane. This variable is available in the Konnect manager. ControlPlaneID string `pathParam:"style=simple,explode=false,name=controlPlaneId"` } diff --git a/models/operations/getkeyauthwithconsumer.go b/models/operations/getkeyauthwithconsumer.go index 767a023..af0b48b 100644 --- a/models/operations/getkeyauthwithconsumer.go +++ b/models/operations/getkeyauthwithconsumer.go @@ -8,7 +8,7 @@ import ( ) type GetKeyAuthWithConsumerRequest struct { - // The UUID of your control plane. This variable is available in the Konnect manager + // The UUID of your control plane. This variable is available in the Konnect manager. ControlPlaneID string `pathParam:"style=simple,explode=false,name=controlPlaneId"` // Consumer ID for nested entities ConsumerIDForNestedEntities string `pathParam:"style=simple,explode=false,name=ConsumerIdForNestedEntities"` diff --git a/models/operations/getkeyset.go b/models/operations/getkeyset.go index 04ef3c5..a412ec6 100644 --- a/models/operations/getkeyset.go +++ b/models/operations/getkeyset.go @@ -10,7 +10,7 @@ import ( type GetKeySetRequest struct { // ID of the KeySet to lookup KeySetID string `pathParam:"style=simple,explode=false,name=KeySetId"` - // The UUID of your control plane. This variable is available in the Konnect manager + // The UUID of your control plane. This variable is available in the Konnect manager. ControlPlaneID string `pathParam:"style=simple,explode=false,name=controlPlaneId"` } diff --git a/models/operations/getnodeseol.go b/models/operations/getnodeseol.go index 59b9e53..e69d293 100644 --- a/models/operations/getnodeseol.go +++ b/models/operations/getnodeseol.go @@ -8,7 +8,7 @@ import ( ) type GetNodesEolRequest struct { - // The UUID of your control plane. This variable is available in the Konnect manager + // The UUID of your control plane. This variable is available in the Konnect manager. ControlPlaneID string `pathParam:"style=simple,explode=false,name=controlPlaneId"` // The maximum number of items to include per page. The last page of a collection may include fewer items. PageSize *int64 `queryParam:"style=form,explode=true,name=page[size]"` diff --git a/models/operations/getnodesnodeid.go b/models/operations/getnodesnodeid.go index 4eb6ff0..e2dd434 100644 --- a/models/operations/getnodesnodeid.go +++ b/models/operations/getnodesnodeid.go @@ -10,7 +10,7 @@ import ( type GetNodesNodeIDRequest struct { NodeID string `pathParam:"style=simple,explode=false,name=nodeId"` - // The UUID of your control plane. This variable is available in the Konnect manager + // The UUID of your control plane. This variable is available in the Konnect manager. ControlPlaneID string `pathParam:"style=simple,explode=false,name=controlPlaneId"` // Number of resources to be returned. Size *int64 `default:"100" queryParam:"style=form,explode=true,name=size"` diff --git a/models/operations/getplugin.go b/models/operations/getplugin.go index d9d5c8b..80c0c99 100644 --- a/models/operations/getplugin.go +++ b/models/operations/getplugin.go @@ -10,7 +10,7 @@ import ( type GetPluginRequest struct { // ID of the Plugin to lookup PluginID string `pathParam:"style=simple,explode=false,name=PluginId"` - // The UUID of your control plane. This variable is available in the Konnect manager + // The UUID of your control plane. This variable is available in the Konnect manager. ControlPlaneID string `pathParam:"style=simple,explode=false,name=controlPlaneId"` } diff --git a/models/operations/getpluginschema.go b/models/operations/getpluginschema.go index 4566c0c..a48a6a9 100644 --- a/models/operations/getpluginschema.go +++ b/models/operations/getpluginschema.go @@ -8,7 +8,7 @@ import ( ) type GetPluginSchemaRequest struct { - // The UUID of your control plane. This variable is available in the Konnect manager + // The UUID of your control plane. This variable is available in the Konnect manager. ControlPlaneID string `pathParam:"style=simple,explode=false,name=controlPlaneId"` // The custom plugin name Name string `pathParam:"style=simple,explode=false,name=name"` diff --git a/models/operations/getpluginwithroute.go b/models/operations/getpluginwithroute.go index 71a7481..b5ea766 100644 --- a/models/operations/getpluginwithroute.go +++ b/models/operations/getpluginwithroute.go @@ -8,7 +8,7 @@ import ( ) type GetPluginWithRouteRequest struct { - // The UUID of your control plane. This variable is available in the Konnect manager + // The UUID of your control plane. This variable is available in the Konnect manager. ControlPlaneID string `pathParam:"style=simple,explode=false,name=controlPlaneId"` // ID of the Route to lookup RouteID string `pathParam:"style=simple,explode=false,name=RouteId"` diff --git a/models/operations/getpluginwithservice.go b/models/operations/getpluginwithservice.go index 104cb6a..ce270c5 100644 --- a/models/operations/getpluginwithservice.go +++ b/models/operations/getpluginwithservice.go @@ -8,7 +8,7 @@ import ( ) type GetPluginWithServiceRequest struct { - // The UUID of your control plane. This variable is available in the Konnect manager + // The UUID of your control plane. This variable is available in the Konnect manager. ControlPlaneID string `pathParam:"style=simple,explode=false,name=controlPlaneId"` // ID of the Service to lookup ServiceID string `pathParam:"style=simple,explode=false,name=ServiceId"` diff --git a/models/operations/getroute.go b/models/operations/getroute.go index 4469bb5..a342599 100644 --- a/models/operations/getroute.go +++ b/models/operations/getroute.go @@ -10,7 +10,7 @@ import ( type GetRouteRequest struct { // ID of the Route to lookup RouteID string `pathParam:"style=simple,explode=false,name=RouteId"` - // The UUID of your control plane. This variable is available in the Konnect manager + // The UUID of your control plane. This variable is available in the Konnect manager. ControlPlaneID string `pathParam:"style=simple,explode=false,name=controlPlaneId"` } diff --git a/models/operations/getroutewithservice.go b/models/operations/getroutewithservice.go index c928726..4aa3e0b 100644 --- a/models/operations/getroutewithservice.go +++ b/models/operations/getroutewithservice.go @@ -8,7 +8,7 @@ import ( ) type GetRouteWithServiceRequest struct { - // The UUID of your control plane. This variable is available in the Konnect manager + // The UUID of your control plane. This variable is available in the Konnect manager. ControlPlaneID string `pathParam:"style=simple,explode=false,name=controlPlaneId"` // ID of the Service to lookup ServiceID string `pathParam:"style=simple,explode=false,name=ServiceId"` diff --git a/models/operations/getserverlesscloudgateway.go b/models/operations/getserverlesscloudgateway.go deleted file mode 100644 index ce0210d..0000000 --- a/models/operations/getserverlesscloudgateway.go +++ /dev/null @@ -1,63 +0,0 @@ -// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - -package operations - -import ( - "github.com/Kong/sdk-konnect-go/models/components" - "net/http" -) - -var GetServerlessCloudGatewayServerList = []string{ - "https://global.api.konghq.com/", -} - -type GetServerlessCloudGatewayRequest struct { - // Id of the Serverless Cloud Gateway control plane - ControlPlaneID string `pathParam:"style=simple,explode=false,name=controlPlaneId"` -} - -func (o *GetServerlessCloudGatewayRequest) GetControlPlaneID() string { - if o == nil { - return "" - } - return o.ControlPlaneID -} - -type GetServerlessCloudGatewayResponse struct { - // HTTP response content type for this operation - ContentType string - // HTTP response status code for this operation - StatusCode int - // Raw HTTP response; suitable for custom response parsing - RawResponse *http.Response - // A response to retrieving a serverless cloud gateway. - ServerlessCloudGateway *components.ServerlessCloudGateway -} - -func (o *GetServerlessCloudGatewayResponse) GetContentType() string { - if o == nil { - return "" - } - return o.ContentType -} - -func (o *GetServerlessCloudGatewayResponse) GetStatusCode() int { - if o == nil { - return 0 - } - return o.StatusCode -} - -func (o *GetServerlessCloudGatewayResponse) GetRawResponse() *http.Response { - if o == nil { - return nil - } - return o.RawResponse -} - -func (o *GetServerlessCloudGatewayResponse) GetServerlessCloudGateway() *components.ServerlessCloudGateway { - if o == nil { - return nil - } - return o.ServerlessCloudGateway -} diff --git a/models/operations/getservice.go b/models/operations/getservice.go index e85816a..9f1f99a 100644 --- a/models/operations/getservice.go +++ b/models/operations/getservice.go @@ -10,7 +10,7 @@ import ( type GetServiceRequest struct { // ID of the Service to lookup ServiceID string `pathParam:"style=simple,explode=false,name=ServiceId"` - // The UUID of your control plane. This variable is available in the Konnect manager + // The UUID of your control plane. This variable is available in the Konnect manager. ControlPlaneID string `pathParam:"style=simple,explode=false,name=controlPlaneId"` } diff --git a/models/operations/getsni.go b/models/operations/getsni.go index c28492c..4b8a80a 100644 --- a/models/operations/getsni.go +++ b/models/operations/getsni.go @@ -10,7 +10,7 @@ import ( type GetSniRequest struct { // ID of the SNI to lookup SNIID string `pathParam:"style=simple,explode=false,name=SNIId"` - // The UUID of your control plane. This variable is available in the Konnect manager + // The UUID of your control plane. This variable is available in the Konnect manager. ControlPlaneID string `pathParam:"style=simple,explode=false,name=controlPlaneId"` } diff --git a/models/operations/getsniwithcertificate.go b/models/operations/getsniwithcertificate.go index 762854f..ba16fe6 100644 --- a/models/operations/getsniwithcertificate.go +++ b/models/operations/getsniwithcertificate.go @@ -8,7 +8,7 @@ import ( ) type GetSniWithCertificateRequest struct { - // The UUID of your control plane. This variable is available in the Konnect manager + // The UUID of your control plane. This variable is available in the Konnect manager. ControlPlaneID string `pathParam:"style=simple,explode=false,name=controlPlaneId"` // ID of the Certificate to lookup CertificateID string `pathParam:"style=simple,explode=false,name=CertificateId"` diff --git a/models/operations/gettargetwithupstream.go b/models/operations/gettargetwithupstream.go index d11c674..c8d90ad 100644 --- a/models/operations/gettargetwithupstream.go +++ b/models/operations/gettargetwithupstream.go @@ -8,7 +8,7 @@ import ( ) type GetTargetWithUpstreamRequest struct { - // The UUID of your control plane. This variable is available in the Konnect manager + // The UUID of your control plane. This variable is available in the Konnect manager. ControlPlaneID string `pathParam:"style=simple,explode=false,name=controlPlaneId"` // ID or target of the Target to lookup UpstreamIDForTarget string `pathParam:"style=simple,explode=false,name=UpstreamIdForTarget"` diff --git a/models/operations/getupstream.go b/models/operations/getupstream.go index f2571e1..5c6b1fc 100644 --- a/models/operations/getupstream.go +++ b/models/operations/getupstream.go @@ -10,7 +10,7 @@ import ( type GetUpstreamRequest struct { // ID of the Upstream to lookup UpstreamID string `pathParam:"style=simple,explode=false,name=UpstreamId"` - // The UUID of your control plane. This variable is available in the Konnect manager + // The UUID of your control plane. This variable is available in the Konnect manager. ControlPlaneID string `pathParam:"style=simple,explode=false,name=controlPlaneId"` } diff --git a/models/operations/getvault.go b/models/operations/getvault.go index c7c7f26..fdd25e7 100644 --- a/models/operations/getvault.go +++ b/models/operations/getvault.go @@ -10,7 +10,7 @@ import ( type GetVaultRequest struct { // ID of the Vault to lookup VaultID string `pathParam:"style=simple,explode=false,name=VaultId"` - // The UUID of your control plane. This variable is available in the Konnect manager + // The UUID of your control plane. This variable is available in the Konnect manager. ControlPlaneID string `pathParam:"style=simple,explode=false,name=controlPlaneId"` } diff --git a/models/operations/listacl.go b/models/operations/listacl.go index ff00dd3..7a3e8be 100644 --- a/models/operations/listacl.go +++ b/models/operations/listacl.go @@ -9,7 +9,7 @@ import ( ) type ListACLRequest struct { - // The UUID of your control plane. This variable is available in the Konnect manager + // The UUID of your control plane. This variable is available in the Konnect manager. ControlPlaneID string `pathParam:"style=simple,explode=false,name=controlPlaneId"` // Number of resources to be returned. Size *int64 `default:"100" queryParam:"style=form,explode=true,name=size"` diff --git a/models/operations/listaclwithconsumer.go b/models/operations/listaclwithconsumer.go index 2760583..51ea51f 100644 --- a/models/operations/listaclwithconsumer.go +++ b/models/operations/listaclwithconsumer.go @@ -9,7 +9,7 @@ import ( ) type ListACLWithConsumerRequest struct { - // The UUID of your control plane. This variable is available in the Konnect manager + // The UUID of your control plane. This variable is available in the Konnect manager. ControlPlaneID string `pathParam:"style=simple,explode=false,name=controlPlaneId"` // Consumer ID for nested entities ConsumerIDForNestedEntities string `pathParam:"style=simple,explode=false,name=ConsumerIdForNestedEntities"` diff --git a/models/operations/listbasicauth.go b/models/operations/listbasicauth.go index c985195..c43728b 100644 --- a/models/operations/listbasicauth.go +++ b/models/operations/listbasicauth.go @@ -9,7 +9,7 @@ import ( ) type ListBasicAuthRequest struct { - // The UUID of your control plane. This variable is available in the Konnect manager + // The UUID of your control plane. This variable is available in the Konnect manager. ControlPlaneID string `pathParam:"style=simple,explode=false,name=controlPlaneId"` // Number of resources to be returned. Size *int64 `default:"100" queryParam:"style=form,explode=true,name=size"` diff --git a/models/operations/listbasicauthwithconsumer.go b/models/operations/listbasicauthwithconsumer.go index 9b8e5fd..49f2f60 100644 --- a/models/operations/listbasicauthwithconsumer.go +++ b/models/operations/listbasicauthwithconsumer.go @@ -9,7 +9,7 @@ import ( ) type ListBasicAuthWithConsumerRequest struct { - // The UUID of your control plane. This variable is available in the Konnect manager + // The UUID of your control plane. This variable is available in the Konnect manager. ControlPlaneID string `pathParam:"style=simple,explode=false,name=controlPlaneId"` // Consumer ID for nested entities ConsumerIDForNestedEntities string `pathParam:"style=simple,explode=false,name=ConsumerIdForNestedEntities"` diff --git a/models/operations/listcacertificate.go b/models/operations/listcacertificate.go index 8aa9f6e..df9d923 100644 --- a/models/operations/listcacertificate.go +++ b/models/operations/listcacertificate.go @@ -9,7 +9,7 @@ import ( ) type ListCaCertificateRequest struct { - // The UUID of your control plane. This variable is available in the Konnect manager + // The UUID of your control plane. This variable is available in the Konnect manager. ControlPlaneID string `pathParam:"style=simple,explode=false,name=controlPlaneId"` // Number of resources to be returned. Size *int64 `default:"100" queryParam:"style=form,explode=true,name=size"` diff --git a/models/operations/listcertificate.go b/models/operations/listcertificate.go index d36eefb..aa521ae 100644 --- a/models/operations/listcertificate.go +++ b/models/operations/listcertificate.go @@ -9,7 +9,7 @@ import ( ) type ListCertificateRequest struct { - // The UUID of your control plane. This variable is available in the Konnect manager + // The UUID of your control plane. This variable is available in the Konnect manager. ControlPlaneID string `pathParam:"style=simple,explode=false,name=controlPlaneId"` // Number of resources to be returned. Size *int64 `default:"100" queryParam:"style=form,explode=true,name=size"` diff --git a/models/operations/listconsumer.go b/models/operations/listconsumer.go index 58b4a2f..376e8ff 100644 --- a/models/operations/listconsumer.go +++ b/models/operations/listconsumer.go @@ -9,7 +9,7 @@ import ( ) type ListConsumerRequest struct { - // The UUID of your control plane. This variable is available in the Konnect manager + // The UUID of your control plane. This variable is available in the Konnect manager. ControlPlaneID string `pathParam:"style=simple,explode=false,name=controlPlaneId"` // Number of resources to be returned. Size *int64 `default:"100" queryParam:"style=form,explode=true,name=size"` diff --git a/models/operations/listconsumergroup.go b/models/operations/listconsumergroup.go index 166ed7b..1e52d3e 100644 --- a/models/operations/listconsumergroup.go +++ b/models/operations/listconsumergroup.go @@ -9,7 +9,7 @@ import ( ) type ListConsumerGroupRequest struct { - // The UUID of your control plane. This variable is available in the Konnect manager + // The UUID of your control plane. This variable is available in the Konnect manager. ControlPlaneID string `pathParam:"style=simple,explode=false,name=controlPlaneId"` // Number of resources to be returned. Size *int64 `default:"100" queryParam:"style=form,explode=true,name=size"` diff --git a/models/operations/listconsumergroupsforconsumer.go b/models/operations/listconsumergroupsforconsumer.go index 7ef5616..a0daa5e 100644 --- a/models/operations/listconsumergroupsforconsumer.go +++ b/models/operations/listconsumergroupsforconsumer.go @@ -9,7 +9,7 @@ import ( ) type ListConsumerGroupsForConsumerRequest struct { - // The UUID of your control plane. This variable is available in the Konnect manager + // The UUID of your control plane. This variable is available in the Konnect manager. ControlPlaneID string `pathParam:"style=simple,explode=false,name=controlPlaneId"` // ID of the Consumer to lookup ConsumerID string `pathParam:"style=simple,explode=false,name=ConsumerId"` diff --git a/models/operations/listdataplanenodes.go b/models/operations/listdataplanenodes.go index c6b8ff1..dbb1e80 100644 --- a/models/operations/listdataplanenodes.go +++ b/models/operations/listdataplanenodes.go @@ -8,7 +8,7 @@ import ( ) type ListDataplaneNodesRequest struct { - // The UUID of your control plane. This variable is available in the Konnect manager + // The UUID of your control plane. This variable is available in the Konnect manager. ControlPlaneID string `pathParam:"style=simple,explode=false,name=controlPlaneId"` // The maximum number of items to include per page. The last page of a collection may include fewer items. PageSize *int64 `queryParam:"style=form,explode=true,name=page[size]"` diff --git a/models/operations/listdpclientcertificates.go b/models/operations/listdpclientcertificates.go index c09662a..2f785a2 100644 --- a/models/operations/listdpclientcertificates.go +++ b/models/operations/listdpclientcertificates.go @@ -8,7 +8,7 @@ import ( ) type ListDpClientCertificatesRequest struct { - // The UUID of your control plane. This variable is available in the Konnect manager + // The UUID of your control plane. This variable is available in the Konnect manager. ControlPlaneID string `pathParam:"style=simple,explode=false,name=controlPlaneId"` } diff --git a/models/operations/listhmacauth.go b/models/operations/listhmacauth.go index ee6df05..f4a8fac 100644 --- a/models/operations/listhmacauth.go +++ b/models/operations/listhmacauth.go @@ -9,7 +9,7 @@ import ( ) type ListHmacAuthRequest struct { - // The UUID of your control plane. This variable is available in the Konnect manager + // The UUID of your control plane. This variable is available in the Konnect manager. ControlPlaneID string `pathParam:"style=simple,explode=false,name=controlPlaneId"` // Number of resources to be returned. Size *int64 `default:"100" queryParam:"style=form,explode=true,name=size"` diff --git a/models/operations/listhmacauthwithconsumer.go b/models/operations/listhmacauthwithconsumer.go index 0df6b78..a76cad2 100644 --- a/models/operations/listhmacauthwithconsumer.go +++ b/models/operations/listhmacauthwithconsumer.go @@ -9,7 +9,7 @@ import ( ) type ListHmacAuthWithConsumerRequest struct { - // The UUID of your control plane. This variable is available in the Konnect manager + // The UUID of your control plane. This variable is available in the Konnect manager. ControlPlaneID string `pathParam:"style=simple,explode=false,name=controlPlaneId"` // Consumer ID for nested entities ConsumerIDForNestedEntities string `pathParam:"style=simple,explode=false,name=ConsumerIdForNestedEntities"` diff --git a/models/operations/listjwt.go b/models/operations/listjwt.go index d98e6f9..20bdeb8 100644 --- a/models/operations/listjwt.go +++ b/models/operations/listjwt.go @@ -9,7 +9,7 @@ import ( ) type ListJwtRequest struct { - // The UUID of your control plane. This variable is available in the Konnect manager + // The UUID of your control plane. This variable is available in the Konnect manager. ControlPlaneID string `pathParam:"style=simple,explode=false,name=controlPlaneId"` // Number of resources to be returned. Size *int64 `default:"100" queryParam:"style=form,explode=true,name=size"` diff --git a/models/operations/listjwtwithconsumer.go b/models/operations/listjwtwithconsumer.go index 1a54e34..94de2cf 100644 --- a/models/operations/listjwtwithconsumer.go +++ b/models/operations/listjwtwithconsumer.go @@ -9,7 +9,7 @@ import ( ) type ListJwtWithConsumerRequest struct { - // The UUID of your control plane. This variable is available in the Konnect manager + // The UUID of your control plane. This variable is available in the Konnect manager. ControlPlaneID string `pathParam:"style=simple,explode=false,name=controlPlaneId"` // Consumer ID for nested entities ConsumerIDForNestedEntities string `pathParam:"style=simple,explode=false,name=ConsumerIdForNestedEntities"` diff --git a/models/operations/listkey.go b/models/operations/listkey.go index 70633bd..9437c1e 100644 --- a/models/operations/listkey.go +++ b/models/operations/listkey.go @@ -9,7 +9,7 @@ import ( ) type ListKeyRequest struct { - // The UUID of your control plane. This variable is available in the Konnect manager + // The UUID of your control plane. This variable is available in the Konnect manager. ControlPlaneID string `pathParam:"style=simple,explode=false,name=controlPlaneId"` // Number of resources to be returned. Size *int64 `default:"100" queryParam:"style=form,explode=true,name=size"` diff --git a/models/operations/listkeyauth.go b/models/operations/listkeyauth.go index 48ee956..096691f 100644 --- a/models/operations/listkeyauth.go +++ b/models/operations/listkeyauth.go @@ -9,7 +9,7 @@ import ( ) type ListKeyAuthRequest struct { - // The UUID of your control plane. This variable is available in the Konnect manager + // The UUID of your control plane. This variable is available in the Konnect manager. ControlPlaneID string `pathParam:"style=simple,explode=false,name=controlPlaneId"` // Number of resources to be returned. Size *int64 `default:"100" queryParam:"style=form,explode=true,name=size"` diff --git a/models/operations/listkeyauthwithconsumer.go b/models/operations/listkeyauthwithconsumer.go index 3fa4d6d..6ac45b8 100644 --- a/models/operations/listkeyauthwithconsumer.go +++ b/models/operations/listkeyauthwithconsumer.go @@ -9,7 +9,7 @@ import ( ) type ListKeyAuthWithConsumerRequest struct { - // The UUID of your control plane. This variable is available in the Konnect manager + // The UUID of your control plane. This variable is available in the Konnect manager. ControlPlaneID string `pathParam:"style=simple,explode=false,name=controlPlaneId"` // Consumer ID for nested entities ConsumerIDForNestedEntities string `pathParam:"style=simple,explode=false,name=ConsumerIdForNestedEntities"` diff --git a/models/operations/listkeyset.go b/models/operations/listkeyset.go index 3e017f0..1de8ad0 100644 --- a/models/operations/listkeyset.go +++ b/models/operations/listkeyset.go @@ -9,7 +9,7 @@ import ( ) type ListKeySetRequest struct { - // The UUID of your control plane. This variable is available in the Konnect manager + // The UUID of your control plane. This variable is available in the Konnect manager. ControlPlaneID string `pathParam:"style=simple,explode=false,name=controlPlaneId"` // Number of resources to be returned. Size *int64 `default:"100" queryParam:"style=form,explode=true,name=size"` diff --git a/models/operations/listplugin.go b/models/operations/listplugin.go index e66f067..cce1413 100644 --- a/models/operations/listplugin.go +++ b/models/operations/listplugin.go @@ -9,7 +9,7 @@ import ( ) type ListPluginRequest struct { - // The UUID of your control plane. This variable is available in the Konnect manager + // The UUID of your control plane. This variable is available in the Konnect manager. ControlPlaneID string `pathParam:"style=simple,explode=false,name=controlPlaneId"` // Number of resources to be returned. Size *int64 `default:"100" queryParam:"style=form,explode=true,name=size"` diff --git a/models/operations/listpluginschemas.go b/models/operations/listpluginschemas.go index 3fcf54d..a2174f4 100644 --- a/models/operations/listpluginschemas.go +++ b/models/operations/listpluginschemas.go @@ -8,7 +8,7 @@ import ( ) type ListPluginSchemasRequest struct { - // The UUID of your control plane. This variable is available in the Konnect manager + // The UUID of your control plane. This variable is available in the Konnect manager. ControlPlaneID string `pathParam:"style=simple,explode=false,name=controlPlaneId"` // The maximum number of items to include per page. The last page of a collection may include fewer items. PageSize *int64 `queryParam:"style=form,explode=true,name=page[size]"` diff --git a/models/operations/listpluginwithroute.go b/models/operations/listpluginwithroute.go index c559d0a..2392450 100644 --- a/models/operations/listpluginwithroute.go +++ b/models/operations/listpluginwithroute.go @@ -9,7 +9,7 @@ import ( ) type ListPluginWithRouteRequest struct { - // The UUID of your control plane. This variable is available in the Konnect manager + // The UUID of your control plane. This variable is available in the Konnect manager. ControlPlaneID string `pathParam:"style=simple,explode=false,name=controlPlaneId"` // ID of the Route to lookup RouteID string `pathParam:"style=simple,explode=false,name=RouteId"` diff --git a/models/operations/listpluginwithservice.go b/models/operations/listpluginwithservice.go index e063583..3230738 100644 --- a/models/operations/listpluginwithservice.go +++ b/models/operations/listpluginwithservice.go @@ -9,7 +9,7 @@ import ( ) type ListPluginWithServiceRequest struct { - // The UUID of your control plane. This variable is available in the Konnect manager + // The UUID of your control plane. This variable is available in the Konnect manager. ControlPlaneID string `pathParam:"style=simple,explode=false,name=controlPlaneId"` // ID of the Service to lookup ServiceID string `pathParam:"style=simple,explode=false,name=ServiceId"` diff --git a/models/operations/listroute.go b/models/operations/listroute.go index a58402c..d69bda8 100644 --- a/models/operations/listroute.go +++ b/models/operations/listroute.go @@ -9,7 +9,7 @@ import ( ) type ListRouteRequest struct { - // The UUID of your control plane. This variable is available in the Konnect manager + // The UUID of your control plane. This variable is available in the Konnect manager. ControlPlaneID string `pathParam:"style=simple,explode=false,name=controlPlaneId"` // Number of resources to be returned. Size *int64 `default:"100" queryParam:"style=form,explode=true,name=size"` diff --git a/models/operations/listroutewithservice.go b/models/operations/listroutewithservice.go index 6684102..5c1eab2 100644 --- a/models/operations/listroutewithservice.go +++ b/models/operations/listroutewithservice.go @@ -9,7 +9,7 @@ import ( ) type ListRouteWithServiceRequest struct { - // The UUID of your control plane. This variable is available in the Konnect manager + // The UUID of your control plane. This variable is available in the Konnect manager. ControlPlaneID string `pathParam:"style=simple,explode=false,name=controlPlaneId"` // ID of the Service to lookup ServiceID string `pathParam:"style=simple,explode=false,name=ServiceId"` diff --git a/models/operations/listserverlesscloudgateway.go b/models/operations/listserverlesscloudgateway.go deleted file mode 100644 index 7a804d7..0000000 --- a/models/operations/listserverlesscloudgateway.go +++ /dev/null @@ -1,81 +0,0 @@ -// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - -package operations - -import ( - "github.com/Kong/sdk-konnect-go/models/components" - "net/http" -) - -var ListServerlessCloudGatewayServerList = []string{ - "https://global.api.konghq.com/", -} - -type ListServerlessCloudGatewayRequest struct { - // The maximum number of items to include per page. The last page of a collection may include fewer items. - PageSize *int64 `queryParam:"style=form,explode=true,name=page[size]"` - // Determines which page of the entities to retrieve. - PageNumber *int64 `queryParam:"style=form,explode=true,name=page[number]"` - // Filter serverless cloud gateways in the response by associated labels. - Labels *string `queryParam:"style=form,explode=true,name=labels"` -} - -func (o *ListServerlessCloudGatewayRequest) GetPageSize() *int64 { - if o == nil { - return nil - } - return o.PageSize -} - -func (o *ListServerlessCloudGatewayRequest) GetPageNumber() *int64 { - if o == nil { - return nil - } - return o.PageNumber -} - -func (o *ListServerlessCloudGatewayRequest) GetLabels() *string { - if o == nil { - return nil - } - return o.Labels -} - -type ListServerlessCloudGatewayResponse struct { - // HTTP response content type for this operation - ContentType string - // HTTP response status code for this operation - StatusCode int - // Raw HTTP response; suitable for custom response parsing - RawResponse *http.Response - // A paginated list response for a collection of serverless cloud gateways. - ListServerlessCloudGatewaysResponse *components.ListServerlessCloudGatewaysResponse -} - -func (o *ListServerlessCloudGatewayResponse) GetContentType() string { - if o == nil { - return "" - } - return o.ContentType -} - -func (o *ListServerlessCloudGatewayResponse) GetStatusCode() int { - if o == nil { - return 0 - } - return o.StatusCode -} - -func (o *ListServerlessCloudGatewayResponse) GetRawResponse() *http.Response { - if o == nil { - return nil - } - return o.RawResponse -} - -func (o *ListServerlessCloudGatewayResponse) GetListServerlessCloudGatewaysResponse() *components.ListServerlessCloudGatewaysResponse { - if o == nil { - return nil - } - return o.ListServerlessCloudGatewaysResponse -} diff --git a/models/operations/listservice.go b/models/operations/listservice.go index d186e7f..7b61d0d 100644 --- a/models/operations/listservice.go +++ b/models/operations/listservice.go @@ -9,7 +9,7 @@ import ( ) type ListServiceRequest struct { - // The UUID of your control plane. This variable is available in the Konnect manager + // The UUID of your control plane. This variable is available in the Konnect manager. ControlPlaneID string `pathParam:"style=simple,explode=false,name=controlPlaneId"` // Number of resources to be returned. Size *int64 `default:"100" queryParam:"style=form,explode=true,name=size"` diff --git a/models/operations/listsni.go b/models/operations/listsni.go index cf198b6..ab498dd 100644 --- a/models/operations/listsni.go +++ b/models/operations/listsni.go @@ -9,7 +9,7 @@ import ( ) type ListSniRequest struct { - // The UUID of your control plane. This variable is available in the Konnect manager + // The UUID of your control plane. This variable is available in the Konnect manager. ControlPlaneID string `pathParam:"style=simple,explode=false,name=controlPlaneId"` // Number of resources to be returned. Size *int64 `default:"100" queryParam:"style=form,explode=true,name=size"` diff --git a/models/operations/listsniwithcertificate.go b/models/operations/listsniwithcertificate.go index d49240a..aff3526 100644 --- a/models/operations/listsniwithcertificate.go +++ b/models/operations/listsniwithcertificate.go @@ -9,7 +9,7 @@ import ( ) type ListSniWithCertificateRequest struct { - // The UUID of your control plane. This variable is available in the Konnect manager + // The UUID of your control plane. This variable is available in the Konnect manager. ControlPlaneID string `pathParam:"style=simple,explode=false,name=controlPlaneId"` // ID of the Certificate to lookup CertificateID string `pathParam:"style=simple,explode=false,name=CertificateId"` diff --git a/models/operations/listtargetwithupstream.go b/models/operations/listtargetwithupstream.go index 40097d2..bc3cfb8 100644 --- a/models/operations/listtargetwithupstream.go +++ b/models/operations/listtargetwithupstream.go @@ -9,7 +9,7 @@ import ( ) type ListTargetWithUpstreamRequest struct { - // The UUID of your control plane. This variable is available in the Konnect manager + // The UUID of your control plane. This variable is available in the Konnect manager. ControlPlaneID string `pathParam:"style=simple,explode=false,name=controlPlaneId"` // ID or target of the Target to lookup UpstreamIDForTarget string `pathParam:"style=simple,explode=false,name=UpstreamIdForTarget"` diff --git a/models/operations/listupstream.go b/models/operations/listupstream.go index 44a9f23..daebc49 100644 --- a/models/operations/listupstream.go +++ b/models/operations/listupstream.go @@ -9,7 +9,7 @@ import ( ) type ListUpstreamRequest struct { - // The UUID of your control plane. This variable is available in the Konnect manager + // The UUID of your control plane. This variable is available in the Konnect manager. ControlPlaneID string `pathParam:"style=simple,explode=false,name=controlPlaneId"` // Number of resources to be returned. Size *int64 `default:"100" queryParam:"style=form,explode=true,name=size"` diff --git a/models/operations/listvault.go b/models/operations/listvault.go index 6fc7584..0079e04 100644 --- a/models/operations/listvault.go +++ b/models/operations/listvault.go @@ -9,7 +9,7 @@ import ( ) type ListVaultRequest struct { - // The UUID of your control plane. This variable is available in the Konnect manager + // The UUID of your control plane. This variable is available in the Konnect manager. ControlPlaneID string `pathParam:"style=simple,explode=false,name=controlPlaneId"` // Number of resources to be returned. Size *int64 `default:"100" queryParam:"style=form,explode=true,name=size"` diff --git a/models/operations/putcontrolplanesidgroupmemberships.go b/models/operations/putcontrolplanesidgroupmemberships.go new file mode 100644 index 0000000..9747b34 --- /dev/null +++ b/models/operations/putcontrolplanesidgroupmemberships.go @@ -0,0 +1,59 @@ +// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + +package operations + +import ( + "github.com/Kong/sdk-konnect-go/models/components" + "net/http" +) + +type PutControlPlanesIDGroupMembershipsRequest struct { + // ID of a control plane group + ID string `pathParam:"style=simple,explode=false,name=id"` + // Request body for upserting a list of child control planes to a control plane group membership. + GroupMembership *components.GroupMembership `request:"mediaType=application/json"` +} + +func (o *PutControlPlanesIDGroupMembershipsRequest) GetID() string { + if o == nil { + return "" + } + return o.ID +} + +func (o *PutControlPlanesIDGroupMembershipsRequest) GetGroupMembership() *components.GroupMembership { + if o == nil { + return nil + } + return o.GroupMembership +} + +type PutControlPlanesIDGroupMembershipsResponse struct { + // HTTP response content type for this operation + ContentType string + // HTTP response status code for this operation + StatusCode int + // Raw HTTP response; suitable for custom response parsing + RawResponse *http.Response +} + +func (o *PutControlPlanesIDGroupMembershipsResponse) GetContentType() string { + if o == nil { + return "" + } + return o.ContentType +} + +func (o *PutControlPlanesIDGroupMembershipsResponse) GetStatusCode() int { + if o == nil { + return 0 + } + return o.StatusCode +} + +func (o *PutControlPlanesIDGroupMembershipsResponse) GetRawResponse() *http.Response { + if o == nil { + return nil + } + return o.RawResponse +} diff --git a/models/operations/removeconsumerfromgroup.go b/models/operations/removeconsumerfromgroup.go index 00c355b..d52448c 100644 --- a/models/operations/removeconsumerfromgroup.go +++ b/models/operations/removeconsumerfromgroup.go @@ -9,7 +9,7 @@ import ( type RemoveConsumerFromGroupRequest struct { ConsumerGroupID string `pathParam:"style=simple,explode=false,name=ConsumerGroupId"` ConsumerID string `pathParam:"style=simple,explode=false,name=ConsumerId"` - // The UUID of your control plane. This variable is available in the Konnect manager + // The UUID of your control plane. This variable is available in the Konnect manager. ControlPlaneID string `pathParam:"style=simple,explode=false,name=controlPlaneId"` } diff --git a/models/operations/updatepluginschemas.go b/models/operations/updatepluginschemas.go index 0a5e2c0..d6f9f4b 100644 --- a/models/operations/updatepluginschemas.go +++ b/models/operations/updatepluginschemas.go @@ -8,7 +8,7 @@ import ( ) type UpdatePluginSchemasRequest struct { - // The UUID of your control plane. This variable is available in the Konnect manager + // The UUID of your control plane. This variable is available in the Konnect manager. ControlPlaneID string `pathParam:"style=simple,explode=false,name=controlPlaneId"` // The custom plugin name Name string `pathParam:"style=simple,explode=false,name=name"` diff --git a/models/operations/upsertaclwithconsumer.go b/models/operations/upsertaclwithconsumer.go index 4c3affd..8cb015f 100644 --- a/models/operations/upsertaclwithconsumer.go +++ b/models/operations/upsertaclwithconsumer.go @@ -8,7 +8,7 @@ import ( ) type UpsertACLWithConsumerRequest struct { - // The UUID of your control plane. This variable is available in the Konnect manager + // The UUID of your control plane. This variable is available in the Konnect manager. ControlPlaneID string `pathParam:"style=simple,explode=false,name=controlPlaneId"` // Consumer ID for nested entities ConsumerIDForNestedEntities string `pathParam:"style=simple,explode=false,name=ConsumerIdForNestedEntities"` diff --git a/models/operations/upsertbasicauthwithconsumer.go b/models/operations/upsertbasicauthwithconsumer.go index fb1f3da..c8070c0 100644 --- a/models/operations/upsertbasicauthwithconsumer.go +++ b/models/operations/upsertbasicauthwithconsumer.go @@ -8,7 +8,7 @@ import ( ) type UpsertBasicAuthWithConsumerRequest struct { - // The UUID of your control plane. This variable is available in the Konnect manager + // The UUID of your control plane. This variable is available in the Konnect manager. ControlPlaneID string `pathParam:"style=simple,explode=false,name=controlPlaneId"` // Consumer ID for nested entities ConsumerIDForNestedEntities string `pathParam:"style=simple,explode=false,name=ConsumerIdForNestedEntities"` diff --git a/models/operations/upsertcacertificate.go b/models/operations/upsertcacertificate.go index 62b37b1..c4f1e63 100644 --- a/models/operations/upsertcacertificate.go +++ b/models/operations/upsertcacertificate.go @@ -10,7 +10,7 @@ import ( type UpsertCaCertificateRequest struct { // ID of the CA Certificate to lookup CACertificateID string `pathParam:"style=simple,explode=false,name=CACertificateId"` - // The UUID of your control plane. This variable is available in the Konnect manager + // The UUID of your control plane. This variable is available in the Konnect manager. ControlPlaneID string `pathParam:"style=simple,explode=false,name=controlPlaneId"` // Description of the CA Certificate CACertificate components.CACertificateInput `request:"mediaType=application/json"` diff --git a/models/operations/upsertcertificate.go b/models/operations/upsertcertificate.go index 73b579b..fc31c38 100644 --- a/models/operations/upsertcertificate.go +++ b/models/operations/upsertcertificate.go @@ -10,7 +10,7 @@ import ( type UpsertCertificateRequest struct { // ID of the Certificate to lookup CertificateID string `pathParam:"style=simple,explode=false,name=CertificateId"` - // The UUID of your control plane. This variable is available in the Konnect manager + // The UUID of your control plane. This variable is available in the Konnect manager. ControlPlaneID string `pathParam:"style=simple,explode=false,name=controlPlaneId"` // Description of the Certificate Certificate components.CertificateInput `request:"mediaType=application/json"` diff --git a/models/operations/upsertconsumer.go b/models/operations/upsertconsumer.go index 11f1543..0a3a9ed 100644 --- a/models/operations/upsertconsumer.go +++ b/models/operations/upsertconsumer.go @@ -10,7 +10,7 @@ import ( type UpsertConsumerRequest struct { // ID of the Consumer to lookup ConsumerID string `pathParam:"style=simple,explode=false,name=ConsumerId"` - // The UUID of your control plane. This variable is available in the Konnect manager + // The UUID of your control plane. This variable is available in the Konnect manager. ControlPlaneID string `pathParam:"style=simple,explode=false,name=controlPlaneId"` // Description of the Consumer Consumer components.ConsumerInput `request:"mediaType=application/json"` diff --git a/models/operations/upsertconsumergroup.go b/models/operations/upsertconsumergroup.go index fb1ae80..aa99c9f 100644 --- a/models/operations/upsertconsumergroup.go +++ b/models/operations/upsertconsumergroup.go @@ -10,7 +10,7 @@ import ( type UpsertConsumerGroupRequest struct { // ID of the Consumer Group to lookup ConsumerGroupID string `pathParam:"style=simple,explode=false,name=ConsumerGroupId"` - // The UUID of your control plane. This variable is available in the Konnect manager + // The UUID of your control plane. This variable is available in the Konnect manager. ControlPlaneID string `pathParam:"style=simple,explode=false,name=controlPlaneId"` // Description of the Consumer Group ConsumerGroup components.ConsumerGroupInput `request:"mediaType=application/json"` diff --git a/models/operations/upserthmacauthwithconsumer.go b/models/operations/upserthmacauthwithconsumer.go index b261f44..bb90937 100644 --- a/models/operations/upserthmacauthwithconsumer.go +++ b/models/operations/upserthmacauthwithconsumer.go @@ -8,7 +8,7 @@ import ( ) type UpsertHmacAuthWithConsumerRequest struct { - // The UUID of your control plane. This variable is available in the Konnect manager + // The UUID of your control plane. This variable is available in the Konnect manager. ControlPlaneID string `pathParam:"style=simple,explode=false,name=controlPlaneId"` // Consumer ID for nested entities ConsumerIDForNestedEntities string `pathParam:"style=simple,explode=false,name=ConsumerIdForNestedEntities"` diff --git a/models/operations/upsertjwtwithconsumer.go b/models/operations/upsertjwtwithconsumer.go index f921193..e784831 100644 --- a/models/operations/upsertjwtwithconsumer.go +++ b/models/operations/upsertjwtwithconsumer.go @@ -8,7 +8,7 @@ import ( ) type UpsertJwtWithConsumerRequest struct { - // The UUID of your control plane. This variable is available in the Konnect manager + // The UUID of your control plane. This variable is available in the Konnect manager. ControlPlaneID string `pathParam:"style=simple,explode=false,name=controlPlaneId"` // Consumer ID for nested entities ConsumerIDForNestedEntities string `pathParam:"style=simple,explode=false,name=ConsumerIdForNestedEntities"` diff --git a/models/operations/upsertkey.go b/models/operations/upsertkey.go index 1e3bd49..ce77464 100644 --- a/models/operations/upsertkey.go +++ b/models/operations/upsertkey.go @@ -10,7 +10,7 @@ import ( type UpsertKeyRequest struct { // ID of the Key to lookup KeyID string `pathParam:"style=simple,explode=false,name=KeyId"` - // The UUID of your control plane. This variable is available in the Konnect manager + // The UUID of your control plane. This variable is available in the Konnect manager. ControlPlaneID string `pathParam:"style=simple,explode=false,name=controlPlaneId"` // Description of the Key Key components.KeyInput `request:"mediaType=application/json"` diff --git a/models/operations/upsertkeyauthwithconsumer.go b/models/operations/upsertkeyauthwithconsumer.go index d2980a7..b9fc47b 100644 --- a/models/operations/upsertkeyauthwithconsumer.go +++ b/models/operations/upsertkeyauthwithconsumer.go @@ -8,7 +8,7 @@ import ( ) type UpsertKeyAuthWithConsumerRequest struct { - // The UUID of your control plane. This variable is available in the Konnect manager + // The UUID of your control plane. This variable is available in the Konnect manager. ControlPlaneID string `pathParam:"style=simple,explode=false,name=controlPlaneId"` // Consumer ID for nested entities ConsumerIDForNestedEntities string `pathParam:"style=simple,explode=false,name=ConsumerIdForNestedEntities"` diff --git a/models/operations/upsertkeyset.go b/models/operations/upsertkeyset.go index 50e2d17..3efe658 100644 --- a/models/operations/upsertkeyset.go +++ b/models/operations/upsertkeyset.go @@ -10,7 +10,7 @@ import ( type UpsertKeySetRequest struct { // ID of the KeySet to lookup KeySetID string `pathParam:"style=simple,explode=false,name=KeySetId"` - // The UUID of your control plane. This variable is available in the Konnect manager + // The UUID of your control plane. This variable is available in the Konnect manager. ControlPlaneID string `pathParam:"style=simple,explode=false,name=controlPlaneId"` // Description of the KeySet KeySet components.KeySetInput `request:"mediaType=application/json"` diff --git a/models/operations/upsertplugin.go b/models/operations/upsertplugin.go index 81d6b32..9d5d23c 100644 --- a/models/operations/upsertplugin.go +++ b/models/operations/upsertplugin.go @@ -10,7 +10,7 @@ import ( type UpsertPluginRequest struct { // ID of the Plugin to lookup PluginID string `pathParam:"style=simple,explode=false,name=PluginId"` - // The UUID of your control plane. This variable is available in the Konnect manager + // The UUID of your control plane. This variable is available in the Konnect manager. ControlPlaneID string `pathParam:"style=simple,explode=false,name=controlPlaneId"` // Description of the Plugin Plugin components.PluginInput `request:"mediaType=application/json"` diff --git a/models/operations/upsertpluginwithroute.go b/models/operations/upsertpluginwithroute.go index 09cae29..6002e6c 100644 --- a/models/operations/upsertpluginwithroute.go +++ b/models/operations/upsertpluginwithroute.go @@ -8,7 +8,7 @@ import ( ) type UpsertPluginWithRouteRequest struct { - // The UUID of your control plane. This variable is available in the Konnect manager + // The UUID of your control plane. This variable is available in the Konnect manager. ControlPlaneID string `pathParam:"style=simple,explode=false,name=controlPlaneId"` // ID of the Route to lookup RouteID string `pathParam:"style=simple,explode=false,name=RouteId"` diff --git a/models/operations/upsertpluginwithservice.go b/models/operations/upsertpluginwithservice.go index 9557080..9e43d46 100644 --- a/models/operations/upsertpluginwithservice.go +++ b/models/operations/upsertpluginwithservice.go @@ -8,7 +8,7 @@ import ( ) type UpsertPluginWithServiceRequest struct { - // The UUID of your control plane. This variable is available in the Konnect manager + // The UUID of your control plane. This variable is available in the Konnect manager. ControlPlaneID string `pathParam:"style=simple,explode=false,name=controlPlaneId"` // ID of the Service to lookup ServiceID string `pathParam:"style=simple,explode=false,name=ServiceId"` diff --git a/models/operations/upsertroute.go b/models/operations/upsertroute.go index 13f0c3d..ddffd9b 100644 --- a/models/operations/upsertroute.go +++ b/models/operations/upsertroute.go @@ -10,7 +10,7 @@ import ( type UpsertRouteRequest struct { // ID of the Route to lookup RouteID string `pathParam:"style=simple,explode=false,name=RouteId"` - // The UUID of your control plane. This variable is available in the Konnect manager + // The UUID of your control plane. This variable is available in the Konnect manager. ControlPlaneID string `pathParam:"style=simple,explode=false,name=controlPlaneId"` // Description of the Route Route components.RouteInput `request:"mediaType=application/json"` diff --git a/models/operations/upsertroutewithservice.go b/models/operations/upsertroutewithservice.go index 59e4106..ac1e4da 100644 --- a/models/operations/upsertroutewithservice.go +++ b/models/operations/upsertroutewithservice.go @@ -8,7 +8,7 @@ import ( ) type UpsertRouteWithServiceRequest struct { - // The UUID of your control plane. This variable is available in the Konnect manager + // The UUID of your control plane. This variable is available in the Konnect manager. ControlPlaneID string `pathParam:"style=simple,explode=false,name=controlPlaneId"` // ID of the Service to lookup ServiceID string `pathParam:"style=simple,explode=false,name=ServiceId"` diff --git a/models/operations/upsertservice.go b/models/operations/upsertservice.go index feea99d..5079c49 100644 --- a/models/operations/upsertservice.go +++ b/models/operations/upsertservice.go @@ -10,7 +10,7 @@ import ( type UpsertServiceRequest struct { // ID of the Service to lookup ServiceID string `pathParam:"style=simple,explode=false,name=ServiceId"` - // The UUID of your control plane. This variable is available in the Konnect manager + // The UUID of your control plane. This variable is available in the Konnect manager. ControlPlaneID string `pathParam:"style=simple,explode=false,name=controlPlaneId"` // Description of the Service Service components.ServiceInput `request:"mediaType=application/json"` diff --git a/models/operations/upsertsni.go b/models/operations/upsertsni.go index 92bd776..1242388 100644 --- a/models/operations/upsertsni.go +++ b/models/operations/upsertsni.go @@ -10,7 +10,7 @@ import ( type UpsertSniRequest struct { // ID of the SNI to lookup SNIID string `pathParam:"style=simple,explode=false,name=SNIId"` - // The UUID of your control plane. This variable is available in the Konnect manager + // The UUID of your control plane. This variable is available in the Konnect manager. ControlPlaneID string `pathParam:"style=simple,explode=false,name=controlPlaneId"` // Description of the SNI Sni components.SNIInput `request:"mediaType=application/json"` diff --git a/models/operations/upsertsniwithcertificate.go b/models/operations/upsertsniwithcertificate.go index 61129a7..8d47a21 100644 --- a/models/operations/upsertsniwithcertificate.go +++ b/models/operations/upsertsniwithcertificate.go @@ -8,7 +8,7 @@ import ( ) type UpsertSniWithCertificateRequest struct { - // The UUID of your control plane. This variable is available in the Konnect manager + // The UUID of your control plane. This variable is available in the Konnect manager. ControlPlaneID string `pathParam:"style=simple,explode=false,name=controlPlaneId"` // ID of the Certificate to lookup CertificateID string `pathParam:"style=simple,explode=false,name=CertificateId"` diff --git a/models/operations/upserttargetwithupstream.go b/models/operations/upserttargetwithupstream.go index aa21198..862e5fe 100644 --- a/models/operations/upserttargetwithupstream.go +++ b/models/operations/upserttargetwithupstream.go @@ -8,7 +8,7 @@ import ( ) type UpsertTargetWithUpstreamRequest struct { - // The UUID of your control plane. This variable is available in the Konnect manager + // The UUID of your control plane. This variable is available in the Konnect manager. ControlPlaneID string `pathParam:"style=simple,explode=false,name=controlPlaneId"` // ID or target of the Target to lookup UpstreamIDForTarget string `pathParam:"style=simple,explode=false,name=UpstreamIdForTarget"` diff --git a/models/operations/upsertupstream.go b/models/operations/upsertupstream.go index ad0b2dd..c70e716 100644 --- a/models/operations/upsertupstream.go +++ b/models/operations/upsertupstream.go @@ -10,7 +10,7 @@ import ( type UpsertUpstreamRequest struct { // ID of the Upstream to lookup UpstreamID string `pathParam:"style=simple,explode=false,name=UpstreamId"` - // The UUID of your control plane. This variable is available in the Konnect manager + // The UUID of your control plane. This variable is available in the Konnect manager. ControlPlaneID string `pathParam:"style=simple,explode=false,name=controlPlaneId"` // Description of the Upstream Upstream components.UpstreamInput `request:"mediaType=application/json"` diff --git a/models/operations/upsertvault.go b/models/operations/upsertvault.go index bbf9eb1..33a750c 100644 --- a/models/operations/upsertvault.go +++ b/models/operations/upsertvault.go @@ -10,7 +10,7 @@ import ( type UpsertVaultRequest struct { // ID of the Vault to lookup VaultID string `pathParam:"style=simple,explode=false,name=VaultId"` - // The UUID of your control plane. This variable is available in the Konnect manager + // The UUID of your control plane. This variable is available in the Konnect manager. ControlPlaneID string `pathParam:"style=simple,explode=false,name=controlPlaneId"` // Description of the Vault Vault components.VaultInput `request:"mediaType=application/json"` diff --git a/openapi.yaml b/openapi.yaml index f888177..321189d 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -16,97 +16,6 @@ servers: - url: https://eu.api.konghq.com - url: https://au.api.konghq.com paths: - /v0/serverless-cloud-gateways: - get: - operationId: list-serverless-cloud-gateway - summary: List Serverless cloud gateways - description: Returns an array of serverless cloud gateways objects. - parameters: - - $ref: '#/components/parameters/PageSize' - - $ref: '#/components/parameters/PageNumber' - - $ref: '#/components/parameters/FilterSCGWByLabels' - responses: - '200': - $ref: '#/components/responses/ListServerlessCloudGatewaysResponse' - '401': - $ref: '#/components/responses/Unauthorized' - '403': - $ref: '#/components/responses/Forbidden' - servers: - - url: https://global.api.konghq.com/ - tags: - - Serverless Cloud Gateways - post: - x-speakeasy-entity-operation: ServerlessCloudGateway#create - operationId: create-serverless-cloud-gateway - summary: Create a new serverless cloud gateway - description: Create a new serverless cloud gateway - requestBody: - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/CreateServerlessCloudGatewayRequest' - responses: - '201': - $ref: '#/components/responses/CreateServerlessCloudGatewayResponse' - '400': - $ref: '#/components/responses/BadRequest' - '401': - $ref: '#/components/responses/Unauthorized' - '403': - $ref: '#/components/responses/Forbidden' - servers: - - url: https://global.api.konghq.com/ - tags: - - Serverless Cloud Gateways - /v0/serverless-cloud-gateways/{controlPlaneId}: - parameters: - - name: controlPlaneId - in: path - description: Id of the Serverless Cloud Gateway control plane - required: true - schema: - type: string - format: uuid - example: bf138ba2-c9b1-4229-b268-04d9d8a6410b - x-speakeasy-match: control_plane.id - get: - x-speakeasy-entity-operation: ServerlessCloudGateway#read - operationId: get-serverless-cloud-gateway - summary: Get the serverless cloud gateway - description: Get the serverless cloud gateway - responses: - '200': - $ref: '#/components/responses/RetrieveServerlessCloudGatewayResponse' - '401': - $ref: '#/components/responses/Unauthorized' - '403': - $ref: '#/components/responses/Forbidden' - '404': - $ref: '#/components/responses/NotFound' - servers: - - url: https://global.api.konghq.com/ - tags: - - Serverless Cloud Gateways - delete: - x-speakeasy-entity-operation: ServerlessCloudGateway#delete - operationId: delete-serverless-cloud-gateway - summary: Delete the serverless cloud gateway - description: Delete the serverless cloud gateway - responses: - '204': - description: No Content - '401': - $ref: '#/components/responses/Unauthorized' - '403': - $ref: '#/components/responses/Forbidden' - '404': - $ref: '#/components/responses/NotFound' - servers: - - url: https://global.api.konghq.com/ - tags: - - Serverless Cloud Gateways /v2/control-planes: get: operationId: list-control-planes @@ -3231,6 +3140,27 @@ paths: $ref: '#/components/responses/ServiceUnavailable' tags: - Control Plane Groups + put: + operationId: put-control-planes-id-group-memberships + summary: Upsert Control Plane Group Members + description: Adds one or more control planes as a member of a control plane group. + requestBody: + $ref: '#/components/requestBodies/GroupMemebershipUpsert' + responses: + '204': + description: No Content + '400': + $ref: '#/components/responses/BadRequest' + '401': + $ref: '#/components/responses/Unauthorized' + '403': + $ref: '#/components/responses/Forbidden' + '404': + $ref: '#/components/responses/NotFound' + '503': + $ref: '#/components/responses/ServiceUnavailable' + tags: + - Control Plane Groups /v2/control-planes/{id}/group-memberships/add: parameters: - name: id @@ -3592,7 +3522,6 @@ paths: - Impersonation Settings /v3/organizations/me: get: - x-speakeasy-entity-operation: OrganizationsMe#get operationId: get-organizations-me summary: Retrieve My Organization description: >- @@ -4896,14 +4825,6 @@ components: schema: type: string example: test - FilterSCGWByLabels: - name: labels - description: Filter serverless cloud gateways in the response by associated labels. - in: query - required: false - schema: - type: string - example: filter[labels][eq]=env:prod HMACAuthId: description: ID of the HMAC-auth credential to lookup example: 70e7b00b-72f2-471b-a5ce-9c4171775360 @@ -5067,6 +4988,7 @@ components: schema: type: string controlPlaneId: + x-speakeasy-param-force-new: true name: controlPlaneId in: path required: true @@ -5076,7 +4998,7 @@ components: example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 description: >- The UUID of your control plane. This variable is available in the - Konnect manager + Konnect manager. pagination-size: description: Number of resources to be returned. in: query @@ -5305,12 +5227,6 @@ components: type: string format: date-time additionalProperties: false - required: - - id - - name - - config - - created_at - - updated_at title: ControlPlaneSummary GroupStatus: description: >- @@ -5462,6 +5378,7 @@ components: type: array items: $ref: '#/components/schemas/ProxyURL' + format: set example: - host: example.com port: 443 @@ -5660,7 +5577,7 @@ components: choices: type: array items: {} - minimum: 1 + minItems: 1 nullable: false readOnly: true uniqueItems: true @@ -6179,137 +6096,6 @@ components: maxProperties: 50 nullable: true writeOnly: true - ServerlessCloudGateway: - x-speakeasy-entity: ServerlessCloudGateway - description: A serverless cloud gateway - type: object - properties: - control_plane: - $ref: '#/components/schemas/ServerlessControlPlane' - gateway_endpoint: - description: Endpoint for the serverless cloud gateway. - type: string - format: hostname - example: us-kong-4594857kpl.kongcloud.dev - readOnly: true - created_at: - type: string - format: date-time - example: '2023-01-11T02:30:42.227Z' - readOnly: true - updated_at: - type: string - format: date-time - example: '2023-01-11T02:30:42.227Z' - readOnly: true - labels: - $ref: '#/components/schemas/SCGWLabels' - required: - - control_plane - - gateway_endpoint - - updated_at - - created_at - title: ServerlessCloudGateway - CreateServerlessCloudGatewayRequest: - x-speakeasy-entity: ServerlessCloudGateway - description: Schema to create a serverless cloud gateway. - type: object - properties: - control_plane: - $ref: '#/components/schemas/ServerlessControlPlane' - cluster_cert: - description: The cluster certificate (public key). - type: string - example: > - -----BEGIN CERTIFICATE----- - MIICRDCCAa2gAwIBAgIBADANBgkqhkiG9w0BAQ0FADA/MQswCQYDVQQGEwJ1czEL - MAkGA1UECAwCVFgxDTALBgNVBAoMBFRlc3QxFDASBgNVBAMMC2V4YW1wbGUuY29t - MB4XDTI0MDQyNjA5NTA1OVoXDTI1MDQyNjA5NTA1OVowPzELMAkGA1UEBhMCdXMx - CzAJBgNVBAgMAlRYMQ0wCwYDVQQKDARUZXN0MRQwEgYDVQQDDAtleGFtcGxlLmNv - bTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA8FaJZmPsthBT1XkTyqUJiuQV - 4p4KaLpNMioNQtIdeGKFXelmZlVfW0bfLGBgFmkwo19KIzFtOlITUjb0Qqlub2Dn - TIPoDs7rXA8aw6umJu73Z6647U3+alxNCpwTuYOY2CJQ+HWEIuOuwAdtQkndEp9r - 7ZWA2xLatQKBYEvEmykCAwEAAaNQME4wHQYDVR0OBBYEFGUznNeZK74vlA4bqKHb - 706tyMwcMB8GA1UdIwQYMBaAFGUznNeZK74vlA4bqKHb706tyMwcMAwGA1UdEwQF - MAMBAf8wDQYJKoZIhvcNAQENBQADgYEARmnu/2vUcmJYLlg86MN0prXGC3CGXsem - fDtPF4SBPxfchdG7HJKywTloIiCBKGEQALkCHiJcQJNcSHmzH3/Qk+SrOJNH01gt - HsKA4SNFJZR5fCRpT6USCukyE2Wlr+PWPscrFCWbLXhK4Ql/t0oog1255B10HqKk - 1qDkNrzCd/o= -----END CERTIFICATE----- - cluster_cert_key: - description: The cluster certificate key (private key). - type: string - example: > - -----BEGIN PRIVATE KEY----- - MIICeAIBADANBgkqhkiG9w0BAQEFAASCAmIwggJeAgEAAoGBAPBWiWZj7LYQU9V5 - E8qlCYrkFeKeCmi6TTIqDULSHXhihV3pZmZVX1tG3yxgYBZpMKNfSiMxbTpSE1I2 - 9EKpbm9g50yD6A7O61wPGsOrpibu92euuO1N/mpcTQqcE7mDmNgiUPh1hCLjrsAH - bUJJ3RKfa+2VgNsS2rUCgWBLxJspAgMBAAECgYEAvA7qqozL/1ZdUu/P1cQ36E86 - 9L03ZeVJXFRdVgj2eGqW8vob3z00RUb6gE3VQhQDNALvDwSw9G6eoblQfgz31Hju - sb+j6bGOm2BqzYrx6rpcgme7k9ScV0tEbtiBNX0E/ToHvNywHtdOBvDocN2wh42Z - 6bS9um51H+SXR036mgUCQQD4T7WrJHL97Hj8TtHnTw895xWKaGn94H7ZQa2lo1nk - 7CQ4Oi8rFX5tDdyV7UU6fekBWuhpmIhSGJhyHD7UThBjAkEA98ef9ey2Qx+j+R8S - tgpgJAF3LVNJJicEHCS/Vltgc84X/vidVAMa2+TYPxPrrUjxBr0STCeB5wZhvvsB - D8cOAwJBAJ5JqaQPUx1dDe7Ai/vooO20Dj4xu0c0QYha3sfU7qwIgDo7lO/g/ruj - 93a3TscvlkXf3oHZ0ySKOzual86ciMMCQQDGOLgaWHVy+4QFTzt70I8bHuUFqKRT - VlEuZqN/ZXijDFQcES5jwFwjYE8zHy+ioEDaIDXcIJsGhA98Zndx9M+bAkA4IFdx - 4YIDhuk1MJAYPqVQs5szEF/0BGymLNVYlIox48bZg+TH3uXwTVRVySxvpRa8dd3O - 0gHs3EIV6GFUl7ev -----END PRIVATE KEY----- - x-speakeasy-param-sensitive: true - labels: - $ref: '#/components/schemas/SCGWLabels' - additionalProperties: false - required: - - control_plane - - cluster_cert - - cluster_cert_key - title: CreateServerlessCloudGatewayRequest - SCGWLabels: - description: >- - Labels to facilitate tagged search on serverless cloud gateways. Keys - must be of length 1-63 characters, and cannot start with 'kong', - 'konnect', 'mesh', 'kic', or '_'. - type: object - example: - env: test - additionalProperties: - type: string - pattern: ^[a-z0-9A-Z]{1}([a-z0-9A-Z\-\.\_]*[a-z0-9A-Z]+)?$ - minLength: 1 - maxLength: 63 - title: Labels - CpRegion: - description: The control plane region. - type: string - example: us - enum: - - us - - eu - - au - title: Control plane region - x-enum-varnames: - - US - - Europe - - Aus - ServerlessControlPlane: - type: object - properties: - id: - description: ID of the serverless cloud gateway CP. - type: string - format: uuid - example: d32d905a-ed33-46a3-a093-d8f536af9a8a - prefix: - description: The prefix of the serverless cloud gateway CP. - type: string - example: 518da50bf7 - region: - $ref: '#/components/schemas/CpRegion' - required: - - id - - prefix - - region - title: Control plane - x-go-name: ControlPlane DataPlaneClientCertificate: type: object properties: @@ -6352,11 +6138,11 @@ components: type: string id: type: string - readOnly: true tags: type: array items: type: string + additionalProperties: false BasicAuth: allOf: - $ref: '#/components/schemas/BasicAuthWithoutParents' @@ -6378,7 +6164,6 @@ components: readOnly: true id: type: string - readOnly: true password: type: string tags: @@ -6387,6 +6172,7 @@ components: type: string username: type: string + additionalProperties: false CACertificate: type: object properties: @@ -6405,7 +6191,6 @@ components: readOnly: true id: type: string - readOnly: true tags: description: >- An optional set of strings associated with the Certificate for @@ -6417,6 +6202,9 @@ components: description: Unix epoch when the resource was last updated. type: integer readOnly: true + additionalProperties: false + required: + - cert Certificate: type: object properties: @@ -6445,7 +6233,6 @@ components: readOnly: true id: type: string - readOnly: true key: description: >- PEM-encoded private key of the SSL key pair. This field is @@ -6476,6 +6263,10 @@ components: description: Unix epoch when the resource was last updated. type: integer readOnly: true + additionalProperties: false + required: + - cert + - key Consumer: type: object properties: @@ -6491,7 +6282,6 @@ components: type: string id: type: string - readOnly: true tags: description: >- An optional set of strings associated with the Consumer for grouping @@ -6508,6 +6298,7 @@ components: The unique username of the Consumer. You must send either this field or `custom_id` with the request. type: string + additionalProperties: false ConsumerGroup: type: object properties: @@ -6517,7 +6308,6 @@ components: readOnly: true id: type: string - readOnly: true name: type: string tags: @@ -6528,6 +6318,9 @@ components: description: Unix epoch when the resource was last updated. type: integer readOnly: true + additionalProperties: false + required: + - name ConsumerGroupInsideWrapper: type: object properties: @@ -6564,7 +6357,6 @@ components: readOnly: true id: type: string - readOnly: true secret: type: string tags: @@ -6573,6 +6365,7 @@ components: type: string username: type: string + additionalProperties: false JWT: allOf: - $ref: '#/components/schemas/JWTWithoutParents' @@ -6611,7 +6404,6 @@ components: readOnly: true id: type: string - readOnly: true key: type: string rsa_public_key: @@ -6622,6 +6414,7 @@ components: type: array items: type: string + additionalProperties: false Key: type: object properties: @@ -6631,7 +6424,6 @@ components: readOnly: true id: type: string - readOnly: true jwk: description: A JSON Web Key represented as a string. type: string @@ -6668,6 +6460,9 @@ components: description: Unix epoch when the resource was last updated. type: integer readOnly: true + additionalProperties: false + required: + - kid KeyAuth: allOf: - $ref: '#/components/schemas/KeyAuthWithoutParents' @@ -6689,13 +6484,13 @@ components: readOnly: true id: type: string - readOnly: true key: type: string tags: type: array items: type: string + additionalProperties: false KeySet: type: object properties: @@ -6705,7 +6500,6 @@ components: readOnly: true id: type: string - readOnly: true name: type: string tags: @@ -6716,6 +6510,7 @@ components: description: Unix epoch when the resource was last updated. type: integer readOnly: true + additionalProperties: false PaginationNextResponse: description: URI to the next page (may be null) type: string @@ -6791,7 +6586,6 @@ components: default: true id: type: string - readOnly: true instance_name: type: string name: @@ -6852,6 +6646,10 @@ components: description: Unix epoch when the resource was last updated. type: integer readOnly: true + additionalProperties: false + required: + - name + - config Route: allOf: - $ref: '#/components/schemas/RouteWithoutParents' @@ -6865,9 +6663,9 @@ components: properties: id: type: string + x-foreign: true type: object RouteWithoutParents: - description: The request schema for the create route's request. type: object properties: created_at: @@ -6922,7 +6720,6 @@ components: - 308 id: type: string - readOnly: true methods: description: A list of HTTP methods that match this Route. type: array @@ -7040,6 +6837,7 @@ components: description: Unix epoch when the resource was last updated. type: integer readOnly: true + additionalProperties: false SNI: allOf: - $ref: '#/components/schemas/SNIWithoutParents' @@ -7065,7 +6863,6 @@ components: readOnly: true id: type: string - readOnly: true name: description: The SNI name to associate with the given certificate. type: string @@ -7080,8 +6877,11 @@ components: description: Unix epoch when the resource was last updated. type: integer readOnly: true + additionalProperties: false + required: + - name + - certificate Service: - description: The request schema for the create control plane's request. type: object properties: ca_certificates: @@ -7104,6 +6904,7 @@ components: properties: id: type: string + x-foreign: true connect_timeout: description: >- The timeout in milliseconds for establishing a connection to the @@ -7128,7 +6929,6 @@ components: type: string id: type: string - readOnly: true name: description: The Service name. type: string @@ -7197,8 +6997,11 @@ components: for transmitting a request to the upstream server. type: integer default: 60000 + additionalProperties: false required: + - protocol - host + - port Target: allOf: - $ref: '#/components/schemas/TargetWithoutParents' @@ -7220,7 +7023,6 @@ components: readOnly: true id: type: string - readOnly: true tags: description: >- An optional set of strings associated with the Target for grouping @@ -7245,6 +7047,7 @@ components: `weight` value will be overridden by the value from the DNS record. type: integer default: 100 + additionalProperties: false Upstream: type: object properties: @@ -7266,6 +7069,7 @@ components: properties: id: type: string + x-foreign: true created_at: description: Unix epoch when the resource was created. type: integer @@ -7493,7 +7297,6 @@ components: type: string id: type: string - readOnly: true name: description: This is a hostname, which must be equal to the `host` of a Service. type: string @@ -7523,6 +7326,9 @@ components: record) as the proxy upstream `Host`. type: boolean default: false + additionalProperties: false + required: + - name Vault: type: object properties: @@ -7541,7 +7347,6 @@ components: type: string id: type: string - readOnly: true name: description: >- The name of the Vault that's going to be added. Currently, the Vault @@ -7564,6 +7369,10 @@ components: description: Unix epoch when the resource was last updated. type: integer readOnly: true + additionalProperties: false + required: + - name + - prefix requestBodies: GroupMemebershipAdd: content: @@ -7581,6 +7390,14 @@ components: description: >- Request body for removing a list of child control planes from a control plane group membership. + GroupMemebershipUpsert: + content: + application/json: + schema: + $ref: '#/components/schemas/GroupMembership' + description: >- + Request body for upserting a list of child control planes to a control + plane group membership. UpdateImpersonationSettingsRequest: content: application/json: @@ -9190,32 +9007,6 @@ components: application/json: schema: $ref: '#/components/schemas/IdP' - RetrieveServerlessCloudGatewayResponse: - description: A response to retrieving a serverless cloud gateway. - content: - application/json: - schema: - $ref: '#/components/schemas/ServerlessCloudGateway' - CreateServerlessCloudGatewayResponse: - description: A response to creating a serverless cloud gateway. - content: - application/json: - schema: - $ref: '#/components/schemas/ServerlessCloudGateway' - ListServerlessCloudGatewaysResponse: - description: A paginated list response for a collection of serverless cloud gateways. - content: - application/json: - schema: - type: object - properties: - meta: - $ref: '#/components/schemas/PaginatedMeta' - data: - type: array - items: - $ref: '#/components/schemas/ServerlessCloudGateway' - title: ListServerlessCloudGatewaysResponse DataPlaneClientCertificateResponse: description: Response body for retrieving a dp-client-certificate. content: @@ -9487,7 +9278,6 @@ tags: - name: Me - name: Authentication - name: Impersonation Settings - - name: Serverless Cloud Gateways - description: DP Nodes name: DP Nodes - description: DP Certificates diff --git a/sdk.go b/sdk.go index 9cebe00..7f0f690 100644 --- a/sdk.go +++ b/sdk.go @@ -74,10 +74,9 @@ func (c *sdkConfiguration) GetServerDetails() (string, map[string]string) { // // https://docs.konghq.com - Documentation for Kong Gateway and its APIs type SDK struct { - ServerlessCloudGateways *ServerlessCloudGateways - ControlPlanes *ControlPlanes - ACLs *ACLs - BasicAuthCredentials *BasicAuthCredentials + ControlPlanes *ControlPlanes + ACLs *ACLs + BasicAuthCredentials *BasicAuthCredentials // A CA certificate object represents a trusted certificate authority. // These objects are used by Kong Gateway to verify the validity of a client or server certificate. CACertificates *CACertificates @@ -261,9 +260,9 @@ func New(opts ...SDKOption) *SDK { sdkConfiguration: sdkConfiguration{ Language: "go", OpenAPIDocVersion: "0.0.1", - SDKVersion: "0.0.13", - GenVersion: "2.420.2", - UserAgent: "speakeasy-sdk/go 0.0.13 2.420.2 0.0.1 github.com/Kong/sdk-konnect-go", + SDKVersion: "0.0.14", + GenVersion: "2.421.3", + UserAgent: "speakeasy-sdk/go 0.0.14 2.421.3 0.0.1 github.com/Kong/sdk-konnect-go", Hooks: hooks.New(), }, } @@ -283,8 +282,6 @@ func New(opts ...SDKOption) *SDK { sdk.sdkConfiguration.ServerURL = serverURL } - sdk.ServerlessCloudGateways = newServerlessCloudGateways(sdk.sdkConfiguration) - sdk.ControlPlanes = newControlPlanes(sdk.sdkConfiguration) sdk.ACLs = newACLs(sdk.sdkConfiguration) diff --git a/serverlesscloudgateways.go b/serverlesscloudgateways.go deleted file mode 100644 index 612523b..0000000 --- a/serverlesscloudgateways.go +++ /dev/null @@ -1,1071 +0,0 @@ -// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - -package sdkkonnectgo - -import ( - "bytes" - "context" - "fmt" - "github.com/Kong/sdk-konnect-go/internal/hooks" - "github.com/Kong/sdk-konnect-go/internal/utils" - "github.com/Kong/sdk-konnect-go/models/components" - "github.com/Kong/sdk-konnect-go/models/operations" - "github.com/Kong/sdk-konnect-go/models/sdkerrors" - "github.com/cenkalti/backoff/v4" - "io" - "net/http" - "net/url" -) - -type ServerlessCloudGateways struct { - sdkConfiguration sdkConfiguration -} - -func newServerlessCloudGateways(sdkConfig sdkConfiguration) *ServerlessCloudGateways { - return &ServerlessCloudGateways{ - sdkConfiguration: sdkConfig, - } -} - -// ListServerlessCloudGateway - List Serverless cloud gateways -// Returns an array of serverless cloud gateways objects. -func (s *ServerlessCloudGateways) ListServerlessCloudGateway(ctx context.Context, request operations.ListServerlessCloudGatewayRequest, opts ...operations.Option) (*operations.ListServerlessCloudGatewayResponse, error) { - hookCtx := hooks.HookContext{ - Context: ctx, - OperationID: "list-serverless-cloud-gateway", - OAuth2Scopes: []string{}, - SecuritySource: s.sdkConfiguration.Security, - } - - o := operations.Options{} - supportedOptions := []string{ - operations.SupportedOptionServerURL, - operations.SupportedOptionRetries, - operations.SupportedOptionTimeout, - } - - for _, opt := range opts { - if err := opt(&o, supportedOptions...); err != nil { - return nil, fmt.Errorf("error applying option: %w", err) - } - } - - baseURL := utils.ReplaceParameters(operations.ListServerlessCloudGatewayServerList[0], map[string]string{}) - if o.ServerURL != nil { - baseURL = *o.ServerURL - } - - opURL, err := url.JoinPath(baseURL, "/v0/serverless-cloud-gateways") - if err != nil { - return nil, fmt.Errorf("error generating URL: %w", err) - } - - timeout := o.Timeout - if timeout == nil { - timeout = s.sdkConfiguration.Timeout - } - - if timeout != nil { - var cancel context.CancelFunc - ctx, cancel = context.WithTimeout(ctx, *timeout) - defer cancel() - } - - req, err := http.NewRequestWithContext(ctx, "GET", opURL, nil) - if err != nil { - return nil, fmt.Errorf("error creating request: %w", err) - } - req.Header.Set("Accept", "application/json") - req.Header.Set("User-Agent", s.sdkConfiguration.UserAgent) - - if err := utils.PopulateQueryParams(ctx, req, request, nil); err != nil { - return nil, fmt.Errorf("error populating query params: %w", err) - } - - if err := utils.PopulateSecurity(ctx, req, s.sdkConfiguration.Security); err != nil { - return nil, err - } - - globalRetryConfig := s.sdkConfiguration.RetryConfig - retryConfig := o.Retries - if retryConfig == nil { - if globalRetryConfig != nil { - retryConfig = globalRetryConfig - } - } - - var httpRes *http.Response - if retryConfig != nil { - httpRes, err = utils.Retry(ctx, utils.Retries{ - Config: retryConfig, - StatusCodes: []string{ - "429", - "500", - "502", - "503", - "504", - }, - }, func() (*http.Response, error) { - if req.Body != nil { - copyBody, err := req.GetBody() - if err != nil { - return nil, err - } - req.Body = copyBody - } - - req, err = s.sdkConfiguration.Hooks.BeforeRequest(hooks.BeforeRequestContext{HookContext: hookCtx}, req) - if err != nil { - return nil, backoff.Permanent(err) - } - - httpRes, err := s.sdkConfiguration.Client.Do(req) - if err != nil || httpRes == nil { - if err != nil { - err = fmt.Errorf("error sending request: %w", err) - } else { - err = fmt.Errorf("error sending request: no response") - } - - _, err = s.sdkConfiguration.Hooks.AfterError(hooks.AfterErrorContext{HookContext: hookCtx}, nil, err) - } - return httpRes, err - }) - - if err != nil { - return nil, err - } else { - httpRes, err = s.sdkConfiguration.Hooks.AfterSuccess(hooks.AfterSuccessContext{HookContext: hookCtx}, httpRes) - if err != nil { - return nil, err - } - } - } else { - req, err = s.sdkConfiguration.Hooks.BeforeRequest(hooks.BeforeRequestContext{HookContext: hookCtx}, req) - if err != nil { - return nil, err - } - - httpRes, err = s.sdkConfiguration.Client.Do(req) - if err != nil || httpRes == nil { - if err != nil { - err = fmt.Errorf("error sending request: %w", err) - } else { - err = fmt.Errorf("error sending request: no response") - } - - _, err = s.sdkConfiguration.Hooks.AfterError(hooks.AfterErrorContext{HookContext: hookCtx}, nil, err) - return nil, err - } else if utils.MatchStatusCodes([]string{"401", "403", "4XX", "5XX"}, httpRes.StatusCode) { - _httpRes, err := s.sdkConfiguration.Hooks.AfterError(hooks.AfterErrorContext{HookContext: hookCtx}, httpRes, nil) - if err != nil { - return nil, err - } else if _httpRes != nil { - httpRes = _httpRes - } - } else { - httpRes, err = s.sdkConfiguration.Hooks.AfterSuccess(hooks.AfterSuccessContext{HookContext: hookCtx}, httpRes) - if err != nil { - return nil, err - } - } - } - - res := &operations.ListServerlessCloudGatewayResponse{ - StatusCode: httpRes.StatusCode, - ContentType: httpRes.Header.Get("Content-Type"), - RawResponse: httpRes, - } - - getRawBody := func() ([]byte, error) { - rawBody, err := io.ReadAll(httpRes.Body) - if err != nil { - return nil, fmt.Errorf("error reading response body: %w", err) - } - httpRes.Body.Close() - httpRes.Body = io.NopCloser(bytes.NewBuffer(rawBody)) - return rawBody, nil - } - - switch { - case httpRes.StatusCode == 200: - switch { - case utils.MatchContentType(httpRes.Header.Get("Content-Type"), `application/json`): - rawBody, err := getRawBody() - if err != nil { - return nil, err - } - - var out components.ListServerlessCloudGatewaysResponse - if err := utils.UnmarshalJsonFromResponseBody(bytes.NewBuffer(rawBody), &out, ""); err != nil { - return nil, err - } - - res.ListServerlessCloudGatewaysResponse = &out - default: - rawBody, err := getRawBody() - if err != nil { - return nil, err - } - - return nil, sdkerrors.NewSDKError(fmt.Sprintf("unknown content-type received: %s", httpRes.Header.Get("Content-Type")), httpRes.StatusCode, string(rawBody), httpRes) - } - case httpRes.StatusCode == 401: - switch { - case utils.MatchContentType(httpRes.Header.Get("Content-Type"), `application/problem+json`): - rawBody, err := getRawBody() - if err != nil { - return nil, err - } - - var out sdkerrors.UnauthorizedError - if err := utils.UnmarshalJsonFromResponseBody(bytes.NewBuffer(rawBody), &out, ""); err != nil { - return nil, err - } - - return nil, &out - default: - rawBody, err := getRawBody() - if err != nil { - return nil, err - } - - return nil, sdkerrors.NewSDKError(fmt.Sprintf("unknown content-type received: %s", httpRes.Header.Get("Content-Type")), httpRes.StatusCode, string(rawBody), httpRes) - } - case httpRes.StatusCode == 403: - switch { - case utils.MatchContentType(httpRes.Header.Get("Content-Type"), `application/problem+json`): - rawBody, err := getRawBody() - if err != nil { - return nil, err - } - - var out sdkerrors.ForbiddenError - if err := utils.UnmarshalJsonFromResponseBody(bytes.NewBuffer(rawBody), &out, ""); err != nil { - return nil, err - } - - return nil, &out - default: - rawBody, err := getRawBody() - if err != nil { - return nil, err - } - - return nil, sdkerrors.NewSDKError(fmt.Sprintf("unknown content-type received: %s", httpRes.Header.Get("Content-Type")), httpRes.StatusCode, string(rawBody), httpRes) - } - case httpRes.StatusCode >= 400 && httpRes.StatusCode < 500: - fallthrough - case httpRes.StatusCode >= 500 && httpRes.StatusCode < 600: - rawBody, err := getRawBody() - if err != nil { - return nil, err - } - - return nil, sdkerrors.NewSDKError("API error occurred", httpRes.StatusCode, string(rawBody), httpRes) - default: - rawBody, err := getRawBody() - if err != nil { - return nil, err - } - - return nil, sdkerrors.NewSDKError("unknown status code returned", httpRes.StatusCode, string(rawBody), httpRes) - } - - return res, nil - -} - -// CreateServerlessCloudGateway - Create a new serverless cloud gateway -// Create a new serverless cloud gateway -func (s *ServerlessCloudGateways) CreateServerlessCloudGateway(ctx context.Context, request components.CreateServerlessCloudGatewayRequest, opts ...operations.Option) (*operations.CreateServerlessCloudGatewayResponse, error) { - hookCtx := hooks.HookContext{ - Context: ctx, - OperationID: "create-serverless-cloud-gateway", - OAuth2Scopes: []string{}, - SecuritySource: s.sdkConfiguration.Security, - } - - o := operations.Options{} - supportedOptions := []string{ - operations.SupportedOptionServerURL, - operations.SupportedOptionRetries, - operations.SupportedOptionTimeout, - } - - for _, opt := range opts { - if err := opt(&o, supportedOptions...); err != nil { - return nil, fmt.Errorf("error applying option: %w", err) - } - } - - baseURL := utils.ReplaceParameters(operations.CreateServerlessCloudGatewayServerList[0], map[string]string{}) - if o.ServerURL != nil { - baseURL = *o.ServerURL - } - - opURL, err := url.JoinPath(baseURL, "/v0/serverless-cloud-gateways") - if err != nil { - return nil, fmt.Errorf("error generating URL: %w", err) - } - - bodyReader, reqContentType, err := utils.SerializeRequestBody(ctx, request, false, false, "Request", "json", `request:"mediaType=application/json"`) - if err != nil { - return nil, err - } - - timeout := o.Timeout - if timeout == nil { - timeout = s.sdkConfiguration.Timeout - } - - if timeout != nil { - var cancel context.CancelFunc - ctx, cancel = context.WithTimeout(ctx, *timeout) - defer cancel() - } - - req, err := http.NewRequestWithContext(ctx, "POST", opURL, bodyReader) - if err != nil { - return nil, fmt.Errorf("error creating request: %w", err) - } - req.Header.Set("Accept", "application/json") - req.Header.Set("User-Agent", s.sdkConfiguration.UserAgent) - req.Header.Set("Content-Type", reqContentType) - - if err := utils.PopulateSecurity(ctx, req, s.sdkConfiguration.Security); err != nil { - return nil, err - } - - globalRetryConfig := s.sdkConfiguration.RetryConfig - retryConfig := o.Retries - if retryConfig == nil { - if globalRetryConfig != nil { - retryConfig = globalRetryConfig - } - } - - var httpRes *http.Response - if retryConfig != nil { - httpRes, err = utils.Retry(ctx, utils.Retries{ - Config: retryConfig, - StatusCodes: []string{ - "429", - "500", - "502", - "503", - "504", - }, - }, func() (*http.Response, error) { - if req.Body != nil { - copyBody, err := req.GetBody() - if err != nil { - return nil, err - } - req.Body = copyBody - } - - req, err = s.sdkConfiguration.Hooks.BeforeRequest(hooks.BeforeRequestContext{HookContext: hookCtx}, req) - if err != nil { - return nil, backoff.Permanent(err) - } - - httpRes, err := s.sdkConfiguration.Client.Do(req) - if err != nil || httpRes == nil { - if err != nil { - err = fmt.Errorf("error sending request: %w", err) - } else { - err = fmt.Errorf("error sending request: no response") - } - - _, err = s.sdkConfiguration.Hooks.AfterError(hooks.AfterErrorContext{HookContext: hookCtx}, nil, err) - } - return httpRes, err - }) - - if err != nil { - return nil, err - } else { - httpRes, err = s.sdkConfiguration.Hooks.AfterSuccess(hooks.AfterSuccessContext{HookContext: hookCtx}, httpRes) - if err != nil { - return nil, err - } - } - } else { - req, err = s.sdkConfiguration.Hooks.BeforeRequest(hooks.BeforeRequestContext{HookContext: hookCtx}, req) - if err != nil { - return nil, err - } - - httpRes, err = s.sdkConfiguration.Client.Do(req) - if err != nil || httpRes == nil { - if err != nil { - err = fmt.Errorf("error sending request: %w", err) - } else { - err = fmt.Errorf("error sending request: no response") - } - - _, err = s.sdkConfiguration.Hooks.AfterError(hooks.AfterErrorContext{HookContext: hookCtx}, nil, err) - return nil, err - } else if utils.MatchStatusCodes([]string{"400", "401", "403", "4XX", "5XX"}, httpRes.StatusCode) { - _httpRes, err := s.sdkConfiguration.Hooks.AfterError(hooks.AfterErrorContext{HookContext: hookCtx}, httpRes, nil) - if err != nil { - return nil, err - } else if _httpRes != nil { - httpRes = _httpRes - } - } else { - httpRes, err = s.sdkConfiguration.Hooks.AfterSuccess(hooks.AfterSuccessContext{HookContext: hookCtx}, httpRes) - if err != nil { - return nil, err - } - } - } - - res := &operations.CreateServerlessCloudGatewayResponse{ - StatusCode: httpRes.StatusCode, - ContentType: httpRes.Header.Get("Content-Type"), - RawResponse: httpRes, - } - - getRawBody := func() ([]byte, error) { - rawBody, err := io.ReadAll(httpRes.Body) - if err != nil { - return nil, fmt.Errorf("error reading response body: %w", err) - } - httpRes.Body.Close() - httpRes.Body = io.NopCloser(bytes.NewBuffer(rawBody)) - return rawBody, nil - } - - switch { - case httpRes.StatusCode == 201: - switch { - case utils.MatchContentType(httpRes.Header.Get("Content-Type"), `application/json`): - rawBody, err := getRawBody() - if err != nil { - return nil, err - } - - var out components.ServerlessCloudGateway - if err := utils.UnmarshalJsonFromResponseBody(bytes.NewBuffer(rawBody), &out, ""); err != nil { - return nil, err - } - - res.ServerlessCloudGateway = &out - default: - rawBody, err := getRawBody() - if err != nil { - return nil, err - } - - return nil, sdkerrors.NewSDKError(fmt.Sprintf("unknown content-type received: %s", httpRes.Header.Get("Content-Type")), httpRes.StatusCode, string(rawBody), httpRes) - } - case httpRes.StatusCode == 400: - switch { - case utils.MatchContentType(httpRes.Header.Get("Content-Type"), `application/problem+json`): - rawBody, err := getRawBody() - if err != nil { - return nil, err - } - - var out sdkerrors.BadRequestError - if err := utils.UnmarshalJsonFromResponseBody(bytes.NewBuffer(rawBody), &out, ""); err != nil { - return nil, err - } - - return nil, &out - default: - rawBody, err := getRawBody() - if err != nil { - return nil, err - } - - return nil, sdkerrors.NewSDKError(fmt.Sprintf("unknown content-type received: %s", httpRes.Header.Get("Content-Type")), httpRes.StatusCode, string(rawBody), httpRes) - } - case httpRes.StatusCode == 401: - switch { - case utils.MatchContentType(httpRes.Header.Get("Content-Type"), `application/problem+json`): - rawBody, err := getRawBody() - if err != nil { - return nil, err - } - - var out sdkerrors.UnauthorizedError - if err := utils.UnmarshalJsonFromResponseBody(bytes.NewBuffer(rawBody), &out, ""); err != nil { - return nil, err - } - - return nil, &out - default: - rawBody, err := getRawBody() - if err != nil { - return nil, err - } - - return nil, sdkerrors.NewSDKError(fmt.Sprintf("unknown content-type received: %s", httpRes.Header.Get("Content-Type")), httpRes.StatusCode, string(rawBody), httpRes) - } - case httpRes.StatusCode == 403: - switch { - case utils.MatchContentType(httpRes.Header.Get("Content-Type"), `application/problem+json`): - rawBody, err := getRawBody() - if err != nil { - return nil, err - } - - var out sdkerrors.ForbiddenError - if err := utils.UnmarshalJsonFromResponseBody(bytes.NewBuffer(rawBody), &out, ""); err != nil { - return nil, err - } - - return nil, &out - default: - rawBody, err := getRawBody() - if err != nil { - return nil, err - } - - return nil, sdkerrors.NewSDKError(fmt.Sprintf("unknown content-type received: %s", httpRes.Header.Get("Content-Type")), httpRes.StatusCode, string(rawBody), httpRes) - } - case httpRes.StatusCode >= 400 && httpRes.StatusCode < 500: - fallthrough - case httpRes.StatusCode >= 500 && httpRes.StatusCode < 600: - rawBody, err := getRawBody() - if err != nil { - return nil, err - } - - return nil, sdkerrors.NewSDKError("API error occurred", httpRes.StatusCode, string(rawBody), httpRes) - default: - rawBody, err := getRawBody() - if err != nil { - return nil, err - } - - return nil, sdkerrors.NewSDKError("unknown status code returned", httpRes.StatusCode, string(rawBody), httpRes) - } - - return res, nil - -} - -// GetServerlessCloudGateway - Get the serverless cloud gateway -// Get the serverless cloud gateway -func (s *ServerlessCloudGateways) GetServerlessCloudGateway(ctx context.Context, controlPlaneID string, opts ...operations.Option) (*operations.GetServerlessCloudGatewayResponse, error) { - hookCtx := hooks.HookContext{ - Context: ctx, - OperationID: "get-serverless-cloud-gateway", - OAuth2Scopes: []string{}, - SecuritySource: s.sdkConfiguration.Security, - } - - request := operations.GetServerlessCloudGatewayRequest{ - ControlPlaneID: controlPlaneID, - } - - o := operations.Options{} - supportedOptions := []string{ - operations.SupportedOptionServerURL, - operations.SupportedOptionRetries, - operations.SupportedOptionTimeout, - } - - for _, opt := range opts { - if err := opt(&o, supportedOptions...); err != nil { - return nil, fmt.Errorf("error applying option: %w", err) - } - } - - baseURL := utils.ReplaceParameters(operations.GetServerlessCloudGatewayServerList[0], map[string]string{}) - if o.ServerURL != nil { - baseURL = *o.ServerURL - } - - opURL, err := utils.GenerateURL(ctx, baseURL, "/v0/serverless-cloud-gateways/{controlPlaneId}", request, nil) - if err != nil { - return nil, fmt.Errorf("error generating URL: %w", err) - } - - timeout := o.Timeout - if timeout == nil { - timeout = s.sdkConfiguration.Timeout - } - - if timeout != nil { - var cancel context.CancelFunc - ctx, cancel = context.WithTimeout(ctx, *timeout) - defer cancel() - } - - req, err := http.NewRequestWithContext(ctx, "GET", opURL, nil) - if err != nil { - return nil, fmt.Errorf("error creating request: %w", err) - } - req.Header.Set("Accept", "application/json") - req.Header.Set("User-Agent", s.sdkConfiguration.UserAgent) - - if err := utils.PopulateSecurity(ctx, req, s.sdkConfiguration.Security); err != nil { - return nil, err - } - - globalRetryConfig := s.sdkConfiguration.RetryConfig - retryConfig := o.Retries - if retryConfig == nil { - if globalRetryConfig != nil { - retryConfig = globalRetryConfig - } - } - - var httpRes *http.Response - if retryConfig != nil { - httpRes, err = utils.Retry(ctx, utils.Retries{ - Config: retryConfig, - StatusCodes: []string{ - "429", - "500", - "502", - "503", - "504", - }, - }, func() (*http.Response, error) { - if req.Body != nil { - copyBody, err := req.GetBody() - if err != nil { - return nil, err - } - req.Body = copyBody - } - - req, err = s.sdkConfiguration.Hooks.BeforeRequest(hooks.BeforeRequestContext{HookContext: hookCtx}, req) - if err != nil { - return nil, backoff.Permanent(err) - } - - httpRes, err := s.sdkConfiguration.Client.Do(req) - if err != nil || httpRes == nil { - if err != nil { - err = fmt.Errorf("error sending request: %w", err) - } else { - err = fmt.Errorf("error sending request: no response") - } - - _, err = s.sdkConfiguration.Hooks.AfterError(hooks.AfterErrorContext{HookContext: hookCtx}, nil, err) - } - return httpRes, err - }) - - if err != nil { - return nil, err - } else { - httpRes, err = s.sdkConfiguration.Hooks.AfterSuccess(hooks.AfterSuccessContext{HookContext: hookCtx}, httpRes) - if err != nil { - return nil, err - } - } - } else { - req, err = s.sdkConfiguration.Hooks.BeforeRequest(hooks.BeforeRequestContext{HookContext: hookCtx}, req) - if err != nil { - return nil, err - } - - httpRes, err = s.sdkConfiguration.Client.Do(req) - if err != nil || httpRes == nil { - if err != nil { - err = fmt.Errorf("error sending request: %w", err) - } else { - err = fmt.Errorf("error sending request: no response") - } - - _, err = s.sdkConfiguration.Hooks.AfterError(hooks.AfterErrorContext{HookContext: hookCtx}, nil, err) - return nil, err - } else if utils.MatchStatusCodes([]string{"401", "403", "404", "4XX", "5XX"}, httpRes.StatusCode) { - _httpRes, err := s.sdkConfiguration.Hooks.AfterError(hooks.AfterErrorContext{HookContext: hookCtx}, httpRes, nil) - if err != nil { - return nil, err - } else if _httpRes != nil { - httpRes = _httpRes - } - } else { - httpRes, err = s.sdkConfiguration.Hooks.AfterSuccess(hooks.AfterSuccessContext{HookContext: hookCtx}, httpRes) - if err != nil { - return nil, err - } - } - } - - res := &operations.GetServerlessCloudGatewayResponse{ - StatusCode: httpRes.StatusCode, - ContentType: httpRes.Header.Get("Content-Type"), - RawResponse: httpRes, - } - - getRawBody := func() ([]byte, error) { - rawBody, err := io.ReadAll(httpRes.Body) - if err != nil { - return nil, fmt.Errorf("error reading response body: %w", err) - } - httpRes.Body.Close() - httpRes.Body = io.NopCloser(bytes.NewBuffer(rawBody)) - return rawBody, nil - } - - switch { - case httpRes.StatusCode == 200: - switch { - case utils.MatchContentType(httpRes.Header.Get("Content-Type"), `application/json`): - rawBody, err := getRawBody() - if err != nil { - return nil, err - } - - var out components.ServerlessCloudGateway - if err := utils.UnmarshalJsonFromResponseBody(bytes.NewBuffer(rawBody), &out, ""); err != nil { - return nil, err - } - - res.ServerlessCloudGateway = &out - default: - rawBody, err := getRawBody() - if err != nil { - return nil, err - } - - return nil, sdkerrors.NewSDKError(fmt.Sprintf("unknown content-type received: %s", httpRes.Header.Get("Content-Type")), httpRes.StatusCode, string(rawBody), httpRes) - } - case httpRes.StatusCode == 401: - switch { - case utils.MatchContentType(httpRes.Header.Get("Content-Type"), `application/problem+json`): - rawBody, err := getRawBody() - if err != nil { - return nil, err - } - - var out sdkerrors.UnauthorizedError - if err := utils.UnmarshalJsonFromResponseBody(bytes.NewBuffer(rawBody), &out, ""); err != nil { - return nil, err - } - - return nil, &out - default: - rawBody, err := getRawBody() - if err != nil { - return nil, err - } - - return nil, sdkerrors.NewSDKError(fmt.Sprintf("unknown content-type received: %s", httpRes.Header.Get("Content-Type")), httpRes.StatusCode, string(rawBody), httpRes) - } - case httpRes.StatusCode == 403: - switch { - case utils.MatchContentType(httpRes.Header.Get("Content-Type"), `application/problem+json`): - rawBody, err := getRawBody() - if err != nil { - return nil, err - } - - var out sdkerrors.ForbiddenError - if err := utils.UnmarshalJsonFromResponseBody(bytes.NewBuffer(rawBody), &out, ""); err != nil { - return nil, err - } - - return nil, &out - default: - rawBody, err := getRawBody() - if err != nil { - return nil, err - } - - return nil, sdkerrors.NewSDKError(fmt.Sprintf("unknown content-type received: %s", httpRes.Header.Get("Content-Type")), httpRes.StatusCode, string(rawBody), httpRes) - } - case httpRes.StatusCode == 404: - switch { - case utils.MatchContentType(httpRes.Header.Get("Content-Type"), `application/problem+json`): - rawBody, err := getRawBody() - if err != nil { - return nil, err - } - - var out sdkerrors.NotFoundError - if err := utils.UnmarshalJsonFromResponseBody(bytes.NewBuffer(rawBody), &out, ""); err != nil { - return nil, err - } - - return nil, &out - default: - rawBody, err := getRawBody() - if err != nil { - return nil, err - } - - return nil, sdkerrors.NewSDKError(fmt.Sprintf("unknown content-type received: %s", httpRes.Header.Get("Content-Type")), httpRes.StatusCode, string(rawBody), httpRes) - } - case httpRes.StatusCode >= 400 && httpRes.StatusCode < 500: - fallthrough - case httpRes.StatusCode >= 500 && httpRes.StatusCode < 600: - rawBody, err := getRawBody() - if err != nil { - return nil, err - } - - return nil, sdkerrors.NewSDKError("API error occurred", httpRes.StatusCode, string(rawBody), httpRes) - default: - rawBody, err := getRawBody() - if err != nil { - return nil, err - } - - return nil, sdkerrors.NewSDKError("unknown status code returned", httpRes.StatusCode, string(rawBody), httpRes) - } - - return res, nil - -} - -// DeleteServerlessCloudGateway - Delete the serverless cloud gateway -// Delete the serverless cloud gateway -func (s *ServerlessCloudGateways) DeleteServerlessCloudGateway(ctx context.Context, controlPlaneID string, opts ...operations.Option) (*operations.DeleteServerlessCloudGatewayResponse, error) { - hookCtx := hooks.HookContext{ - Context: ctx, - OperationID: "delete-serverless-cloud-gateway", - OAuth2Scopes: []string{}, - SecuritySource: s.sdkConfiguration.Security, - } - - request := operations.DeleteServerlessCloudGatewayRequest{ - ControlPlaneID: controlPlaneID, - } - - o := operations.Options{} - supportedOptions := []string{ - operations.SupportedOptionServerURL, - operations.SupportedOptionRetries, - operations.SupportedOptionTimeout, - } - - for _, opt := range opts { - if err := opt(&o, supportedOptions...); err != nil { - return nil, fmt.Errorf("error applying option: %w", err) - } - } - - baseURL := utils.ReplaceParameters(operations.DeleteServerlessCloudGatewayServerList[0], map[string]string{}) - if o.ServerURL != nil { - baseURL = *o.ServerURL - } - - opURL, err := utils.GenerateURL(ctx, baseURL, "/v0/serverless-cloud-gateways/{controlPlaneId}", request, nil) - if err != nil { - return nil, fmt.Errorf("error generating URL: %w", err) - } - - timeout := o.Timeout - if timeout == nil { - timeout = s.sdkConfiguration.Timeout - } - - if timeout != nil { - var cancel context.CancelFunc - ctx, cancel = context.WithTimeout(ctx, *timeout) - defer cancel() - } - - req, err := http.NewRequestWithContext(ctx, "DELETE", opURL, nil) - if err != nil { - return nil, fmt.Errorf("error creating request: %w", err) - } - req.Header.Set("Accept", "application/problem+json") - req.Header.Set("User-Agent", s.sdkConfiguration.UserAgent) - - if err := utils.PopulateSecurity(ctx, req, s.sdkConfiguration.Security); err != nil { - return nil, err - } - - globalRetryConfig := s.sdkConfiguration.RetryConfig - retryConfig := o.Retries - if retryConfig == nil { - if globalRetryConfig != nil { - retryConfig = globalRetryConfig - } - } - - var httpRes *http.Response - if retryConfig != nil { - httpRes, err = utils.Retry(ctx, utils.Retries{ - Config: retryConfig, - StatusCodes: []string{ - "429", - "500", - "502", - "503", - "504", - }, - }, func() (*http.Response, error) { - if req.Body != nil { - copyBody, err := req.GetBody() - if err != nil { - return nil, err - } - req.Body = copyBody - } - - req, err = s.sdkConfiguration.Hooks.BeforeRequest(hooks.BeforeRequestContext{HookContext: hookCtx}, req) - if err != nil { - return nil, backoff.Permanent(err) - } - - httpRes, err := s.sdkConfiguration.Client.Do(req) - if err != nil || httpRes == nil { - if err != nil { - err = fmt.Errorf("error sending request: %w", err) - } else { - err = fmt.Errorf("error sending request: no response") - } - - _, err = s.sdkConfiguration.Hooks.AfterError(hooks.AfterErrorContext{HookContext: hookCtx}, nil, err) - } - return httpRes, err - }) - - if err != nil { - return nil, err - } else { - httpRes, err = s.sdkConfiguration.Hooks.AfterSuccess(hooks.AfterSuccessContext{HookContext: hookCtx}, httpRes) - if err != nil { - return nil, err - } - } - } else { - req, err = s.sdkConfiguration.Hooks.BeforeRequest(hooks.BeforeRequestContext{HookContext: hookCtx}, req) - if err != nil { - return nil, err - } - - httpRes, err = s.sdkConfiguration.Client.Do(req) - if err != nil || httpRes == nil { - if err != nil { - err = fmt.Errorf("error sending request: %w", err) - } else { - err = fmt.Errorf("error sending request: no response") - } - - _, err = s.sdkConfiguration.Hooks.AfterError(hooks.AfterErrorContext{HookContext: hookCtx}, nil, err) - return nil, err - } else if utils.MatchStatusCodes([]string{"401", "403", "404", "4XX", "5XX"}, httpRes.StatusCode) { - _httpRes, err := s.sdkConfiguration.Hooks.AfterError(hooks.AfterErrorContext{HookContext: hookCtx}, httpRes, nil) - if err != nil { - return nil, err - } else if _httpRes != nil { - httpRes = _httpRes - } - } else { - httpRes, err = s.sdkConfiguration.Hooks.AfterSuccess(hooks.AfterSuccessContext{HookContext: hookCtx}, httpRes) - if err != nil { - return nil, err - } - } - } - - res := &operations.DeleteServerlessCloudGatewayResponse{ - StatusCode: httpRes.StatusCode, - ContentType: httpRes.Header.Get("Content-Type"), - RawResponse: httpRes, - } - - getRawBody := func() ([]byte, error) { - rawBody, err := io.ReadAll(httpRes.Body) - if err != nil { - return nil, fmt.Errorf("error reading response body: %w", err) - } - httpRes.Body.Close() - httpRes.Body = io.NopCloser(bytes.NewBuffer(rawBody)) - return rawBody, nil - } - - switch { - case httpRes.StatusCode == 204: - case httpRes.StatusCode == 401: - switch { - case utils.MatchContentType(httpRes.Header.Get("Content-Type"), `application/problem+json`): - rawBody, err := getRawBody() - if err != nil { - return nil, err - } - - var out sdkerrors.UnauthorizedError - if err := utils.UnmarshalJsonFromResponseBody(bytes.NewBuffer(rawBody), &out, ""); err != nil { - return nil, err - } - - return nil, &out - default: - rawBody, err := getRawBody() - if err != nil { - return nil, err - } - - return nil, sdkerrors.NewSDKError(fmt.Sprintf("unknown content-type received: %s", httpRes.Header.Get("Content-Type")), httpRes.StatusCode, string(rawBody), httpRes) - } - case httpRes.StatusCode == 403: - switch { - case utils.MatchContentType(httpRes.Header.Get("Content-Type"), `application/problem+json`): - rawBody, err := getRawBody() - if err != nil { - return nil, err - } - - var out sdkerrors.ForbiddenError - if err := utils.UnmarshalJsonFromResponseBody(bytes.NewBuffer(rawBody), &out, ""); err != nil { - return nil, err - } - - return nil, &out - default: - rawBody, err := getRawBody() - if err != nil { - return nil, err - } - - return nil, sdkerrors.NewSDKError(fmt.Sprintf("unknown content-type received: %s", httpRes.Header.Get("Content-Type")), httpRes.StatusCode, string(rawBody), httpRes) - } - case httpRes.StatusCode == 404: - switch { - case utils.MatchContentType(httpRes.Header.Get("Content-Type"), `application/problem+json`): - rawBody, err := getRawBody() - if err != nil { - return nil, err - } - - var out sdkerrors.NotFoundError - if err := utils.UnmarshalJsonFromResponseBody(bytes.NewBuffer(rawBody), &out, ""); err != nil { - return nil, err - } - - return nil, &out - default: - rawBody, err := getRawBody() - if err != nil { - return nil, err - } - - return nil, sdkerrors.NewSDKError(fmt.Sprintf("unknown content-type received: %s", httpRes.Header.Get("Content-Type")), httpRes.StatusCode, string(rawBody), httpRes) - } - case httpRes.StatusCode >= 400 && httpRes.StatusCode < 500: - fallthrough - case httpRes.StatusCode >= 500 && httpRes.StatusCode < 600: - rawBody, err := getRawBody() - if err != nil { - return nil, err - } - - return nil, sdkerrors.NewSDKError("API error occurred", httpRes.StatusCode, string(rawBody), httpRes) - default: - rawBody, err := getRawBody() - if err != nil { - return nil, err - } - - return nil, sdkerrors.NewSDKError("unknown status code returned", httpRes.StatusCode, string(rawBody), httpRes) - } - - return res, nil - -}