diff --git a/CHANGELOG.md b/CHANGELOG.md index beab4125d..56c78cd06 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,12 @@ ## Release (2026-MM-DD) -- `alb`: [v0.12.1](services/alb/CHANGELOG.md#v0121) - - **Dependencies:** Bump STACKIT SDK core module from `v0.22.0` to `v0.23.0` +- `alb`: + - [v0.12.1](services/alb/CHANGELOG.md#v0121) + - **Dependencies:** Bump STACKIT SDK core module from `v0.22.0` to `v0.23.0` + - [v0.13.0](services/alb/CHANGELOG.md#v0130) + - `v2beta2api` + - **Deprecation:** The `v2beta2` api is deprecated and will be removed in the future. Migrate to the `v2` api + - `v2api` + - Update description of `GetQuota` method - `albwaf`: [v0.2.1](services/albwaf/CHANGELOG.md#v021) - **Dependencies:** Bump STACKIT SDK core module from `v0.22.0` to `v0.23.0` - `auditlog`: [v0.3.1](services/auditlog/CHANGELOG.md#v031) diff --git a/services/alb/CHANGELOG.md b/services/alb/CHANGELOG.md index 55f055240..ca74a8137 100644 --- a/services/alb/CHANGELOG.md +++ b/services/alb/CHANGELOG.md @@ -1,3 +1,9 @@ +## v0.13.0 +- `v2beta2api` + - **Deprecation:** The `v2beta2` api is deprecated and will be removed in the future. Migrate to the `v2` api +- `v2api` + - Update description of `GetQuota` method + ## v0.12.1 - **Dependencies:** Bump STACKIT SDK core module from `v0.22.0` to `v0.23.0` diff --git a/services/alb/VERSION b/services/alb/VERSION index 63f192ec9..6ddc06173 100644 --- a/services/alb/VERSION +++ b/services/alb/VERSION @@ -1 +1 @@ -v0.12.1 \ No newline at end of file +v0.13.0 \ No newline at end of file diff --git a/services/alb/api_default.go b/services/alb/api_default.go index 9905b5f1f..002527479 100644 --- a/services/alb/api_default.go +++ b/services/alb/api_default.go @@ -179,7 +179,6 @@ type DefaultApi interface { /* GetQuota Get the quota of Application Load Balancers in a project. Retrieves the configured Application Load Balancer quota for the project. Limit can be changed via service request. - There can be 3 times as many TLS certificates and observability credentials as Load Balancers. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId diff --git a/services/alb/oas_commit b/services/alb/oas_commit index e3713dde3..cca6a5e9a 100644 --- a/services/alb/oas_commit +++ b/services/alb/oas_commit @@ -1 +1 @@ -0e64886dd0847341800d7191ed193b75413be998 +95de5cba3201a683657cb472d5fa30aa768f19cc diff --git a/services/alb/v2api/api_default.go b/services/alb/v2api/api_default.go index 1fa428ae5..338651626 100644 --- a/services/alb/v2api/api_default.go +++ b/services/alb/v2api/api_default.go @@ -128,15 +128,14 @@ type DefaultAPI interface { GetLoadBalancerExecute(r ApiGetLoadBalancerRequest) (*LoadBalancer, error) /* - GetQuota Get the quota of Application Load Balancers in a project. + GetQuota Get the quota of Application Load Balancers in a project. - Retrieves the configured Application Load Balancer quota for the project. Limit can be changed via service request. - There can be 3 times as many TLS certificates and observability credentials as Load Balancers. + Retrieves the configured Application Load Balancer quota for the project. Limit can be changed via service request. - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param projectId - @param region - @return ApiGetQuotaRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param projectId + @param region + @return ApiGetQuotaRequest */ GetQuota(ctx context.Context, projectId string, region string) ApiGetQuotaRequest @@ -1171,8 +1170,6 @@ GetQuota Get the quota of Application Load Balancers in a project. Retrieves the configured Application Load Balancer quota for the project. Limit can be changed via service request. - There can be 3 times as many TLS certificates and observability credentials as Load Balancers. - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId @param region diff --git a/services/alb/v2beta2api/api_default.go b/services/alb/v2beta2api/api_default.go index 28563b51d..ff096fcab 100644 --- a/services/alb/v2beta2api/api_default.go +++ b/services/alb/v2beta2api/api_default.go @@ -34,11 +34,14 @@ type DefaultAPI interface { @param projectId @param region @return ApiCreateCredentialsRequest + + Deprecated */ CreateCredentials(ctx context.Context, projectId string, region string) ApiCreateCredentialsRequest // CreateCredentialsExecute executes the request // @return CreateCredentialsResponse + // Deprecated CreateCredentialsExecute(r ApiCreateCredentialsRequest) (*CreateCredentialsResponse, error) /* @@ -51,11 +54,14 @@ type DefaultAPI interface { @param projectId @param region @return ApiCreateLoadBalancerRequest + + Deprecated */ CreateLoadBalancer(ctx context.Context, projectId string, region string) ApiCreateLoadBalancerRequest // CreateLoadBalancerExecute executes the request // @return LoadBalancer + // Deprecated CreateLoadBalancerExecute(r ApiCreateLoadBalancerRequest) (*LoadBalancer, error) /* @@ -68,11 +74,14 @@ type DefaultAPI interface { @param region @param credentialsRef @return ApiDeleteCredentialsRequest + + Deprecated */ DeleteCredentials(ctx context.Context, projectId string, region string, credentialsRef string) ApiDeleteCredentialsRequest // DeleteCredentialsExecute executes the request // @return map[string]interface{} + // Deprecated DeleteCredentialsExecute(r ApiDeleteCredentialsRequest) (map[string]interface{}, error) /* @@ -85,11 +94,14 @@ type DefaultAPI interface { @param region @param name @return ApiDeleteLoadBalancerRequest + + Deprecated */ DeleteLoadBalancer(ctx context.Context, projectId string, region string, name string) ApiDeleteLoadBalancerRequest // DeleteLoadBalancerExecute executes the request // @return map[string]interface{} + // Deprecated DeleteLoadBalancerExecute(r ApiDeleteLoadBalancerRequest) (map[string]interface{}, error) /* @@ -102,11 +114,14 @@ type DefaultAPI interface { @param region @param credentialsRef @return ApiGetCredentialsRequest + + Deprecated */ GetCredentials(ctx context.Context, projectId string, region string, credentialsRef string) ApiGetCredentialsRequest // GetCredentialsExecute executes the request // @return GetCredentialsResponse + // Deprecated GetCredentialsExecute(r ApiGetCredentialsRequest) (*GetCredentialsResponse, error) /* @@ -120,28 +135,33 @@ type DefaultAPI interface { @param region @param name @return ApiGetLoadBalancerRequest + + Deprecated */ GetLoadBalancer(ctx context.Context, projectId string, region string, name string) ApiGetLoadBalancerRequest // GetLoadBalancerExecute executes the request // @return LoadBalancer + // Deprecated GetLoadBalancerExecute(r ApiGetLoadBalancerRequest) (*LoadBalancer, error) /* - GetQuota Get the quota of Application Load Balancers in a project. + GetQuota Get the quota of Application Load Balancers in a project. - Retrieves the configured Application Load Balancer quota for the project. Limit can be changed via service request. - There can be 3 times as many TLS certificates and observability credentials as Load Balancers. + Retrieves the configured Application Load Balancer quota for the project. Limit can be changed via service request. - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param projectId - @param region - @return ApiGetQuotaRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param projectId + @param region + @return ApiGetQuotaRequest + + Deprecated */ GetQuota(ctx context.Context, projectId string, region string) ApiGetQuotaRequest // GetQuotaExecute executes the request // @return GetQuotaResponse + // Deprecated GetQuotaExecute(r ApiGetQuotaRequest) (*GetQuotaResponse, error) /* @@ -153,11 +173,14 @@ type DefaultAPI interface { @param projectId @param region @return ApiListCredentialsRequest + + Deprecated */ ListCredentials(ctx context.Context, projectId string, region string) ApiListCredentialsRequest // ListCredentialsExecute executes the request // @return ListCredentialsResponse + // Deprecated ListCredentialsExecute(r ApiListCredentialsRequest) (*ListCredentialsResponse, error) /* @@ -170,11 +193,14 @@ type DefaultAPI interface { @param projectId @param region @return ApiListLoadBalancersRequest + + Deprecated */ ListLoadBalancers(ctx context.Context, projectId string, region string) ApiListLoadBalancersRequest // ListLoadBalancersExecute executes the request // @return ListLoadBalancersResponse + // Deprecated ListLoadBalancersExecute(r ApiListLoadBalancersRequest) (*ListLoadBalancersResponse, error) /* @@ -185,11 +211,14 @@ type DefaultAPI interface { @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param region @return ApiListPlansRequest + + Deprecated */ ListPlans(ctx context.Context, region string) ApiListPlansRequest // ListPlansExecute executes the request // @return ListPlansResponse + // Deprecated ListPlansExecute(r ApiListPlansRequest) (*ListPlansResponse, error) /* @@ -202,11 +231,14 @@ type DefaultAPI interface { @param region @param credentialsRef @return ApiUpdateCredentialsRequest + + Deprecated */ UpdateCredentials(ctx context.Context, projectId string, region string, credentialsRef string) ApiUpdateCredentialsRequest // UpdateCredentialsExecute executes the request // @return UpdateCredentialsResponse + // Deprecated UpdateCredentialsExecute(r ApiUpdateCredentialsRequest) (*UpdateCredentialsResponse, error) /* @@ -221,11 +253,14 @@ type DefaultAPI interface { @param region @param name @return ApiUpdateLoadBalancerRequest + + Deprecated */ UpdateLoadBalancer(ctx context.Context, projectId string, region string, name string) ApiUpdateLoadBalancerRequest // UpdateLoadBalancerExecute executes the request // @return LoadBalancer + // Deprecated UpdateLoadBalancerExecute(r ApiUpdateLoadBalancerRequest) (*LoadBalancer, error) /* @@ -241,11 +276,14 @@ type DefaultAPI interface { @param name @param targetPoolName @return ApiUpdateTargetPoolRequest + + Deprecated */ UpdateTargetPool(ctx context.Context, projectId string, region string, name string, targetPoolName string) ApiUpdateTargetPoolRequest // UpdateTargetPoolExecute executes the request // @return TargetPool + // Deprecated UpdateTargetPoolExecute(r ApiUpdateTargetPoolRequest) (*TargetPool, error) } @@ -287,6 +325,8 @@ Created credentials can be stored and used for the load balancer observability. @param projectId @param region @return ApiCreateCredentialsRequest + +Deprecated */ func (a *DefaultAPIService) CreateCredentials(ctx context.Context, projectId string, region string) ApiCreateCredentialsRequest { return ApiCreateCredentialsRequest{ @@ -300,6 +340,8 @@ func (a *DefaultAPIService) CreateCredentials(ctx context.Context, projectId str // Execute executes the request // // @return CreateCredentialsResponse +// +// Deprecated func (a *DefaultAPIService) CreateCredentialsExecute(r ApiCreateCredentialsRequest) (*CreateCredentialsResponse, error) { var ( localVarHTTPMethod = http.MethodPost @@ -449,6 +491,8 @@ Creates an Application Load Balancer. @param projectId @param region @return ApiCreateLoadBalancerRequest + +Deprecated */ func (a *DefaultAPIService) CreateLoadBalancer(ctx context.Context, projectId string, region string) ApiCreateLoadBalancerRequest { return ApiCreateLoadBalancerRequest{ @@ -462,6 +506,8 @@ func (a *DefaultAPIService) CreateLoadBalancer(ctx context.Context, projectId st // Execute executes the request // // @return LoadBalancer +// +// Deprecated func (a *DefaultAPIService) CreateLoadBalancerExecute(r ApiCreateLoadBalancerRequest) (*LoadBalancer, error) { var ( localVarHTTPMethod = http.MethodPost @@ -599,6 +645,8 @@ Deletes the stored Observability credentials. @param region @param credentialsRef @return ApiDeleteCredentialsRequest + +Deprecated */ func (a *DefaultAPIService) DeleteCredentials(ctx context.Context, projectId string, region string, credentialsRef string) ApiDeleteCredentialsRequest { return ApiDeleteCredentialsRequest{ @@ -613,6 +661,8 @@ func (a *DefaultAPIService) DeleteCredentials(ctx context.Context, projectId str // Execute executes the request // // @return map[string]interface{} +// +// Deprecated func (a *DefaultAPIService) DeleteCredentialsExecute(r ApiDeleteCredentialsRequest) (map[string]interface{}, error) { var ( localVarHTTPMethod = http.MethodDelete @@ -743,6 +793,8 @@ Deletes the specified Application Load Balancer. @param region @param name @return ApiDeleteLoadBalancerRequest + +Deprecated */ func (a *DefaultAPIService) DeleteLoadBalancer(ctx context.Context, projectId string, region string, name string) ApiDeleteLoadBalancerRequest { return ApiDeleteLoadBalancerRequest{ @@ -757,6 +809,8 @@ func (a *DefaultAPIService) DeleteLoadBalancer(ctx context.Context, projectId st // Execute executes the request // // @return map[string]interface{} +// +// Deprecated func (a *DefaultAPIService) DeleteLoadBalancerExecute(r ApiDeleteLoadBalancerRequest) (map[string]interface{}, error) { var ( localVarHTTPMethod = http.MethodDelete @@ -887,6 +941,8 @@ Gets the stored Observability credentials. @param region @param credentialsRef @return ApiGetCredentialsRequest + +Deprecated */ func (a *DefaultAPIService) GetCredentials(ctx context.Context, projectId string, region string, credentialsRef string) ApiGetCredentialsRequest { return ApiGetCredentialsRequest{ @@ -901,6 +957,8 @@ func (a *DefaultAPIService) GetCredentials(ctx context.Context, projectId string // Execute executes the request // // @return GetCredentialsResponse +// +// Deprecated func (a *DefaultAPIService) GetCredentialsExecute(r ApiGetCredentialsRequest) (*GetCredentialsResponse, error) { var ( localVarHTTPMethod = http.MethodGet @@ -1033,6 +1091,8 @@ Retrieves details of a specific Application Load Balancer in a project. @param region @param name @return ApiGetLoadBalancerRequest + +Deprecated */ func (a *DefaultAPIService) GetLoadBalancer(ctx context.Context, projectId string, region string, name string) ApiGetLoadBalancerRequest { return ApiGetLoadBalancerRequest{ @@ -1047,6 +1107,8 @@ func (a *DefaultAPIService) GetLoadBalancer(ctx context.Context, projectId strin // Execute executes the request // // @return LoadBalancer +// +// Deprecated func (a *DefaultAPIService) GetLoadBalancerExecute(r ApiGetLoadBalancerRequest) (*LoadBalancer, error) { var ( localVarHTTPMethod = http.MethodGet @@ -1171,12 +1233,12 @@ GetQuota Get the quota of Application Load Balancers in a project. Retrieves the configured Application Load Balancer quota for the project. Limit can be changed via service request. - There can be 3 times as many TLS certificates and observability credentials as Load Balancers. - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId @param region @return ApiGetQuotaRequest + +Deprecated */ func (a *DefaultAPIService) GetQuota(ctx context.Context, projectId string, region string) ApiGetQuotaRequest { return ApiGetQuotaRequest{ @@ -1190,6 +1252,8 @@ func (a *DefaultAPIService) GetQuota(ctx context.Context, projectId string, regi // Execute executes the request // // @return GetQuotaResponse +// +// Deprecated func (a *DefaultAPIService) GetQuotaExecute(r ApiGetQuotaRequest) (*GetQuotaResponse, error) { var ( localVarHTTPMethod = http.MethodGet @@ -1317,6 +1381,8 @@ Lists the stored Observability credentials. @param projectId @param region @return ApiListCredentialsRequest + +Deprecated */ func (a *DefaultAPIService) ListCredentials(ctx context.Context, projectId string, region string) ApiListCredentialsRequest { return ApiListCredentialsRequest{ @@ -1330,6 +1396,8 @@ func (a *DefaultAPIService) ListCredentials(ctx context.Context, projectId strin // Execute executes the request // // @return ListCredentialsResponse +// +// Deprecated func (a *DefaultAPIService) ListCredentialsExecute(r ApiListCredentialsRequest) (*ListCredentialsResponse, error) { var ( localVarHTTPMethod = http.MethodGet @@ -1473,6 +1541,8 @@ Lists all Application Load Balancers in a project. @param projectId @param region @return ApiListLoadBalancersRequest + +Deprecated */ func (a *DefaultAPIService) ListLoadBalancers(ctx context.Context, projectId string, region string) ApiListLoadBalancersRequest { return ApiListLoadBalancersRequest{ @@ -1486,6 +1556,8 @@ func (a *DefaultAPIService) ListLoadBalancers(ctx context.Context, projectId str // Execute executes the request // // @return ListLoadBalancersResponse +// +// Deprecated func (a *DefaultAPIService) ListLoadBalancersExecute(r ApiListLoadBalancersRequest) (*ListLoadBalancersResponse, error) { var ( localVarHTTPMethod = http.MethodGet @@ -1617,6 +1689,8 @@ Lists the configured service plans for a project. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param region @return ApiListPlansRequest + +Deprecated */ func (a *DefaultAPIService) ListPlans(ctx context.Context, region string) ApiListPlansRequest { return ApiListPlansRequest{ @@ -1629,6 +1703,8 @@ func (a *DefaultAPIService) ListPlans(ctx context.Context, region string) ApiLis // Execute executes the request // // @return ListPlansResponse +// +// Deprecated func (a *DefaultAPIService) ListPlansExecute(r ApiListPlansRequest) (*ListPlansResponse, error) { var ( localVarHTTPMethod = http.MethodGet @@ -1763,6 +1839,8 @@ Updates the stored Observability credentials. @param region @param credentialsRef @return ApiUpdateCredentialsRequest + +Deprecated */ func (a *DefaultAPIService) UpdateCredentials(ctx context.Context, projectId string, region string, credentialsRef string) ApiUpdateCredentialsRequest { return ApiUpdateCredentialsRequest{ @@ -1777,6 +1855,8 @@ func (a *DefaultAPIService) UpdateCredentials(ctx context.Context, projectId str // Execute executes the request // // @return UpdateCredentialsResponse +// +// Deprecated func (a *DefaultAPIService) UpdateCredentialsExecute(r ApiUpdateCredentialsRequest) (*UpdateCredentialsResponse, error) { var ( localVarHTTPMethod = http.MethodPut @@ -1921,6 +2001,8 @@ Updates an existing Application Load Balancer by modifying its listeners and tar @param region @param name @return ApiUpdateLoadBalancerRequest + +Deprecated */ func (a *DefaultAPIService) UpdateLoadBalancer(ctx context.Context, projectId string, region string, name string) ApiUpdateLoadBalancerRequest { return ApiUpdateLoadBalancerRequest{ @@ -1935,6 +2017,8 @@ func (a *DefaultAPIService) UpdateLoadBalancer(ctx context.Context, projectId st // Execute executes the request // // @return LoadBalancer +// +// Deprecated func (a *DefaultAPIService) UpdateLoadBalancerExecute(r ApiUpdateLoadBalancerRequest) (*LoadBalancer, error) { var ( localVarHTTPMethod = http.MethodPut @@ -2081,6 +2165,8 @@ Replaces the content of a specific target pool in the Application Load Balancer @param name @param targetPoolName @return ApiUpdateTargetPoolRequest + +Deprecated */ func (a *DefaultAPIService) UpdateTargetPool(ctx context.Context, projectId string, region string, name string, targetPoolName string) ApiUpdateTargetPoolRequest { return ApiUpdateTargetPoolRequest{ @@ -2096,6 +2182,8 @@ func (a *DefaultAPIService) UpdateTargetPool(ctx context.Context, projectId stri // Execute executes the request // // @return TargetPool +// +// Deprecated func (a *DefaultAPIService) UpdateTargetPoolExecute(r ApiUpdateTargetPoolRequest) (*TargetPool, error) { var ( localVarHTTPMethod = http.MethodPut diff --git a/services/alb/v2beta2api/api_default_mock.go b/services/alb/v2beta2api/api_default_mock.go index 59663dc59..2b631296e 100644 --- a/services/alb/v2beta2api/api_default_mock.go +++ b/services/alb/v2beta2api/api_default_mock.go @@ -20,34 +20,35 @@ var _ DefaultAPI = &DefaultAPIServiceMock{} // DefaultAPIServiceMock is meant to be used for testing only as a replacement for DefaultAPIService. // By default all FooExecute() implementations are a no-op. Behavior of the mock can be customized by populating the callbacks in this struct. type DefaultAPIServiceMock struct { - // CreateCredentialsExecuteMock can be populated to implement the behavior of the CreateCredentialsExecute function of this mock + // Deprecated: CreateCredentialsExecuteMock can be populated to implement the behavior of the CreateCredentialsExecute function of this mock CreateCredentialsExecuteMock *func(r ApiCreateCredentialsRequest) (*CreateCredentialsResponse, error) - // CreateLoadBalancerExecuteMock can be populated to implement the behavior of the CreateLoadBalancerExecute function of this mock + // Deprecated: CreateLoadBalancerExecuteMock can be populated to implement the behavior of the CreateLoadBalancerExecute function of this mock CreateLoadBalancerExecuteMock *func(r ApiCreateLoadBalancerRequest) (*LoadBalancer, error) - // DeleteCredentialsExecuteMock can be populated to implement the behavior of the DeleteCredentialsExecute function of this mock + // Deprecated: DeleteCredentialsExecuteMock can be populated to implement the behavior of the DeleteCredentialsExecute function of this mock DeleteCredentialsExecuteMock *func(r ApiDeleteCredentialsRequest) (map[string]interface{}, error) - // DeleteLoadBalancerExecuteMock can be populated to implement the behavior of the DeleteLoadBalancerExecute function of this mock + // Deprecated: DeleteLoadBalancerExecuteMock can be populated to implement the behavior of the DeleteLoadBalancerExecute function of this mock DeleteLoadBalancerExecuteMock *func(r ApiDeleteLoadBalancerRequest) (map[string]interface{}, error) - // GetCredentialsExecuteMock can be populated to implement the behavior of the GetCredentialsExecute function of this mock + // Deprecated: GetCredentialsExecuteMock can be populated to implement the behavior of the GetCredentialsExecute function of this mock GetCredentialsExecuteMock *func(r ApiGetCredentialsRequest) (*GetCredentialsResponse, error) - // GetLoadBalancerExecuteMock can be populated to implement the behavior of the GetLoadBalancerExecute function of this mock + // Deprecated: GetLoadBalancerExecuteMock can be populated to implement the behavior of the GetLoadBalancerExecute function of this mock GetLoadBalancerExecuteMock *func(r ApiGetLoadBalancerRequest) (*LoadBalancer, error) - // GetQuotaExecuteMock can be populated to implement the behavior of the GetQuotaExecute function of this mock + // Deprecated: GetQuotaExecuteMock can be populated to implement the behavior of the GetQuotaExecute function of this mock GetQuotaExecuteMock *func(r ApiGetQuotaRequest) (*GetQuotaResponse, error) - // ListCredentialsExecuteMock can be populated to implement the behavior of the ListCredentialsExecute function of this mock + // Deprecated: ListCredentialsExecuteMock can be populated to implement the behavior of the ListCredentialsExecute function of this mock ListCredentialsExecuteMock *func(r ApiListCredentialsRequest) (*ListCredentialsResponse, error) - // ListLoadBalancersExecuteMock can be populated to implement the behavior of the ListLoadBalancersExecute function of this mock + // Deprecated: ListLoadBalancersExecuteMock can be populated to implement the behavior of the ListLoadBalancersExecute function of this mock ListLoadBalancersExecuteMock *func(r ApiListLoadBalancersRequest) (*ListLoadBalancersResponse, error) - // ListPlansExecuteMock can be populated to implement the behavior of the ListPlansExecute function of this mock + // Deprecated: ListPlansExecuteMock can be populated to implement the behavior of the ListPlansExecute function of this mock ListPlansExecuteMock *func(r ApiListPlansRequest) (*ListPlansResponse, error) - // UpdateCredentialsExecuteMock can be populated to implement the behavior of the UpdateCredentialsExecute function of this mock + // Deprecated: UpdateCredentialsExecuteMock can be populated to implement the behavior of the UpdateCredentialsExecute function of this mock UpdateCredentialsExecuteMock *func(r ApiUpdateCredentialsRequest) (*UpdateCredentialsResponse, error) - // UpdateLoadBalancerExecuteMock can be populated to implement the behavior of the UpdateLoadBalancerExecute function of this mock + // Deprecated: UpdateLoadBalancerExecuteMock can be populated to implement the behavior of the UpdateLoadBalancerExecute function of this mock UpdateLoadBalancerExecuteMock *func(r ApiUpdateLoadBalancerRequest) (*LoadBalancer, error) - // UpdateTargetPoolExecuteMock can be populated to implement the behavior of the UpdateTargetPoolExecute function of this mock + // Deprecated: UpdateTargetPoolExecuteMock can be populated to implement the behavior of the UpdateTargetPoolExecute function of this mock UpdateTargetPoolExecuteMock *func(r ApiUpdateTargetPoolRequest) (*TargetPool, error) } +// Deprecated func (a DefaultAPIServiceMock) CreateCredentials(ctx context.Context, projectId string, region string) ApiCreateCredentialsRequest { return ApiCreateCredentialsRequest{ ApiService: a, @@ -57,7 +58,7 @@ func (a DefaultAPIServiceMock) CreateCredentials(ctx context.Context, projectId } } -// CreateCredentialsExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the CreateCredentialsExecuteMock field in the DefaultAPIServiceMock struct. +// Deprecated: CreateCredentialsExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the CreateCredentialsExecuteMock field in the DefaultAPIServiceMock struct. func (a DefaultAPIServiceMock) CreateCredentialsExecute(r ApiCreateCredentialsRequest) (*CreateCredentialsResponse, error) { if a.CreateCredentialsExecuteMock == nil { var localVarReturnValue *CreateCredentialsResponse @@ -67,6 +68,7 @@ func (a DefaultAPIServiceMock) CreateCredentialsExecute(r ApiCreateCredentialsRe return (*a.CreateCredentialsExecuteMock)(r) } +// Deprecated func (a DefaultAPIServiceMock) CreateLoadBalancer(ctx context.Context, projectId string, region string) ApiCreateLoadBalancerRequest { return ApiCreateLoadBalancerRequest{ ApiService: a, @@ -76,7 +78,7 @@ func (a DefaultAPIServiceMock) CreateLoadBalancer(ctx context.Context, projectId } } -// CreateLoadBalancerExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the CreateLoadBalancerExecuteMock field in the DefaultAPIServiceMock struct. +// Deprecated: CreateLoadBalancerExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the CreateLoadBalancerExecuteMock field in the DefaultAPIServiceMock struct. func (a DefaultAPIServiceMock) CreateLoadBalancerExecute(r ApiCreateLoadBalancerRequest) (*LoadBalancer, error) { if a.CreateLoadBalancerExecuteMock == nil { var localVarReturnValue *LoadBalancer @@ -86,6 +88,7 @@ func (a DefaultAPIServiceMock) CreateLoadBalancerExecute(r ApiCreateLoadBalancer return (*a.CreateLoadBalancerExecuteMock)(r) } +// Deprecated func (a DefaultAPIServiceMock) DeleteCredentials(ctx context.Context, projectId string, region string, credentialsRef string) ApiDeleteCredentialsRequest { return ApiDeleteCredentialsRequest{ ApiService: a, @@ -96,7 +99,7 @@ func (a DefaultAPIServiceMock) DeleteCredentials(ctx context.Context, projectId } } -// DeleteCredentialsExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the DeleteCredentialsExecuteMock field in the DefaultAPIServiceMock struct. +// Deprecated: DeleteCredentialsExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the DeleteCredentialsExecuteMock field in the DefaultAPIServiceMock struct. func (a DefaultAPIServiceMock) DeleteCredentialsExecute(r ApiDeleteCredentialsRequest) (map[string]interface{}, error) { if a.DeleteCredentialsExecuteMock == nil { var localVarReturnValue map[string]interface{} @@ -106,6 +109,7 @@ func (a DefaultAPIServiceMock) DeleteCredentialsExecute(r ApiDeleteCredentialsRe return (*a.DeleteCredentialsExecuteMock)(r) } +// Deprecated func (a DefaultAPIServiceMock) DeleteLoadBalancer(ctx context.Context, projectId string, region string, name string) ApiDeleteLoadBalancerRequest { return ApiDeleteLoadBalancerRequest{ ApiService: a, @@ -116,7 +120,7 @@ func (a DefaultAPIServiceMock) DeleteLoadBalancer(ctx context.Context, projectId } } -// DeleteLoadBalancerExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the DeleteLoadBalancerExecuteMock field in the DefaultAPIServiceMock struct. +// Deprecated: DeleteLoadBalancerExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the DeleteLoadBalancerExecuteMock field in the DefaultAPIServiceMock struct. func (a DefaultAPIServiceMock) DeleteLoadBalancerExecute(r ApiDeleteLoadBalancerRequest) (map[string]interface{}, error) { if a.DeleteLoadBalancerExecuteMock == nil { var localVarReturnValue map[string]interface{} @@ -126,6 +130,7 @@ func (a DefaultAPIServiceMock) DeleteLoadBalancerExecute(r ApiDeleteLoadBalancer return (*a.DeleteLoadBalancerExecuteMock)(r) } +// Deprecated func (a DefaultAPIServiceMock) GetCredentials(ctx context.Context, projectId string, region string, credentialsRef string) ApiGetCredentialsRequest { return ApiGetCredentialsRequest{ ApiService: a, @@ -136,7 +141,7 @@ func (a DefaultAPIServiceMock) GetCredentials(ctx context.Context, projectId str } } -// GetCredentialsExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetCredentialsExecuteMock field in the DefaultAPIServiceMock struct. +// Deprecated: GetCredentialsExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetCredentialsExecuteMock field in the DefaultAPIServiceMock struct. func (a DefaultAPIServiceMock) GetCredentialsExecute(r ApiGetCredentialsRequest) (*GetCredentialsResponse, error) { if a.GetCredentialsExecuteMock == nil { var localVarReturnValue *GetCredentialsResponse @@ -146,6 +151,7 @@ func (a DefaultAPIServiceMock) GetCredentialsExecute(r ApiGetCredentialsRequest) return (*a.GetCredentialsExecuteMock)(r) } +// Deprecated func (a DefaultAPIServiceMock) GetLoadBalancer(ctx context.Context, projectId string, region string, name string) ApiGetLoadBalancerRequest { return ApiGetLoadBalancerRequest{ ApiService: a, @@ -156,7 +162,7 @@ func (a DefaultAPIServiceMock) GetLoadBalancer(ctx context.Context, projectId st } } -// GetLoadBalancerExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetLoadBalancerExecuteMock field in the DefaultAPIServiceMock struct. +// Deprecated: GetLoadBalancerExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetLoadBalancerExecuteMock field in the DefaultAPIServiceMock struct. func (a DefaultAPIServiceMock) GetLoadBalancerExecute(r ApiGetLoadBalancerRequest) (*LoadBalancer, error) { if a.GetLoadBalancerExecuteMock == nil { var localVarReturnValue *LoadBalancer @@ -166,6 +172,7 @@ func (a DefaultAPIServiceMock) GetLoadBalancerExecute(r ApiGetLoadBalancerReques return (*a.GetLoadBalancerExecuteMock)(r) } +// Deprecated func (a DefaultAPIServiceMock) GetQuota(ctx context.Context, projectId string, region string) ApiGetQuotaRequest { return ApiGetQuotaRequest{ ApiService: a, @@ -175,7 +182,7 @@ func (a DefaultAPIServiceMock) GetQuota(ctx context.Context, projectId string, r } } -// GetQuotaExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetQuotaExecuteMock field in the DefaultAPIServiceMock struct. +// Deprecated: GetQuotaExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetQuotaExecuteMock field in the DefaultAPIServiceMock struct. func (a DefaultAPIServiceMock) GetQuotaExecute(r ApiGetQuotaRequest) (*GetQuotaResponse, error) { if a.GetQuotaExecuteMock == nil { var localVarReturnValue *GetQuotaResponse @@ -185,6 +192,7 @@ func (a DefaultAPIServiceMock) GetQuotaExecute(r ApiGetQuotaRequest) (*GetQuotaR return (*a.GetQuotaExecuteMock)(r) } +// Deprecated func (a DefaultAPIServiceMock) ListCredentials(ctx context.Context, projectId string, region string) ApiListCredentialsRequest { return ApiListCredentialsRequest{ ApiService: a, @@ -194,7 +202,7 @@ func (a DefaultAPIServiceMock) ListCredentials(ctx context.Context, projectId st } } -// ListCredentialsExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListCredentialsExecuteMock field in the DefaultAPIServiceMock struct. +// Deprecated: ListCredentialsExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListCredentialsExecuteMock field in the DefaultAPIServiceMock struct. func (a DefaultAPIServiceMock) ListCredentialsExecute(r ApiListCredentialsRequest) (*ListCredentialsResponse, error) { if a.ListCredentialsExecuteMock == nil { var localVarReturnValue *ListCredentialsResponse @@ -204,6 +212,7 @@ func (a DefaultAPIServiceMock) ListCredentialsExecute(r ApiListCredentialsReques return (*a.ListCredentialsExecuteMock)(r) } +// Deprecated func (a DefaultAPIServiceMock) ListLoadBalancers(ctx context.Context, projectId string, region string) ApiListLoadBalancersRequest { return ApiListLoadBalancersRequest{ ApiService: a, @@ -213,7 +222,7 @@ func (a DefaultAPIServiceMock) ListLoadBalancers(ctx context.Context, projectId } } -// ListLoadBalancersExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListLoadBalancersExecuteMock field in the DefaultAPIServiceMock struct. +// Deprecated: ListLoadBalancersExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListLoadBalancersExecuteMock field in the DefaultAPIServiceMock struct. func (a DefaultAPIServiceMock) ListLoadBalancersExecute(r ApiListLoadBalancersRequest) (*ListLoadBalancersResponse, error) { if a.ListLoadBalancersExecuteMock == nil { var localVarReturnValue *ListLoadBalancersResponse @@ -223,6 +232,7 @@ func (a DefaultAPIServiceMock) ListLoadBalancersExecute(r ApiListLoadBalancersRe return (*a.ListLoadBalancersExecuteMock)(r) } +// Deprecated func (a DefaultAPIServiceMock) ListPlans(ctx context.Context, region string) ApiListPlansRequest { return ApiListPlansRequest{ ApiService: a, @@ -231,7 +241,7 @@ func (a DefaultAPIServiceMock) ListPlans(ctx context.Context, region string) Api } } -// ListPlansExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListPlansExecuteMock field in the DefaultAPIServiceMock struct. +// Deprecated: ListPlansExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListPlansExecuteMock field in the DefaultAPIServiceMock struct. func (a DefaultAPIServiceMock) ListPlansExecute(r ApiListPlansRequest) (*ListPlansResponse, error) { if a.ListPlansExecuteMock == nil { var localVarReturnValue *ListPlansResponse @@ -241,6 +251,7 @@ func (a DefaultAPIServiceMock) ListPlansExecute(r ApiListPlansRequest) (*ListPla return (*a.ListPlansExecuteMock)(r) } +// Deprecated func (a DefaultAPIServiceMock) UpdateCredentials(ctx context.Context, projectId string, region string, credentialsRef string) ApiUpdateCredentialsRequest { return ApiUpdateCredentialsRequest{ ApiService: a, @@ -251,7 +262,7 @@ func (a DefaultAPIServiceMock) UpdateCredentials(ctx context.Context, projectId } } -// UpdateCredentialsExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the UpdateCredentialsExecuteMock field in the DefaultAPIServiceMock struct. +// Deprecated: UpdateCredentialsExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the UpdateCredentialsExecuteMock field in the DefaultAPIServiceMock struct. func (a DefaultAPIServiceMock) UpdateCredentialsExecute(r ApiUpdateCredentialsRequest) (*UpdateCredentialsResponse, error) { if a.UpdateCredentialsExecuteMock == nil { var localVarReturnValue *UpdateCredentialsResponse @@ -261,6 +272,7 @@ func (a DefaultAPIServiceMock) UpdateCredentialsExecute(r ApiUpdateCredentialsRe return (*a.UpdateCredentialsExecuteMock)(r) } +// Deprecated func (a DefaultAPIServiceMock) UpdateLoadBalancer(ctx context.Context, projectId string, region string, name string) ApiUpdateLoadBalancerRequest { return ApiUpdateLoadBalancerRequest{ ApiService: a, @@ -271,7 +283,7 @@ func (a DefaultAPIServiceMock) UpdateLoadBalancer(ctx context.Context, projectId } } -// UpdateLoadBalancerExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the UpdateLoadBalancerExecuteMock field in the DefaultAPIServiceMock struct. +// Deprecated: UpdateLoadBalancerExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the UpdateLoadBalancerExecuteMock field in the DefaultAPIServiceMock struct. func (a DefaultAPIServiceMock) UpdateLoadBalancerExecute(r ApiUpdateLoadBalancerRequest) (*LoadBalancer, error) { if a.UpdateLoadBalancerExecuteMock == nil { var localVarReturnValue *LoadBalancer @@ -281,6 +293,7 @@ func (a DefaultAPIServiceMock) UpdateLoadBalancerExecute(r ApiUpdateLoadBalancer return (*a.UpdateLoadBalancerExecuteMock)(r) } +// Deprecated func (a DefaultAPIServiceMock) UpdateTargetPool(ctx context.Context, projectId string, region string, name string, targetPoolName string) ApiUpdateTargetPoolRequest { return ApiUpdateTargetPoolRequest{ ApiService: a, @@ -292,7 +305,7 @@ func (a DefaultAPIServiceMock) UpdateTargetPool(ctx context.Context, projectId s } } -// UpdateTargetPoolExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the UpdateTargetPoolExecuteMock field in the DefaultAPIServiceMock struct. +// Deprecated: UpdateTargetPoolExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the UpdateTargetPoolExecuteMock field in the DefaultAPIServiceMock struct. func (a DefaultAPIServiceMock) UpdateTargetPoolExecute(r ApiUpdateTargetPoolRequest) (*TargetPool, error) { if a.UpdateTargetPoolExecuteMock == nil { var localVarReturnValue *TargetPool diff --git a/services/alb/v2beta2api/model_get_quota_response.go b/services/alb/v2beta2api/model_get_quota_response.go index e55f65226..11604288f 100644 --- a/services/alb/v2beta2api/model_get_quota_response.go +++ b/services/alb/v2beta2api/model_get_quota_response.go @@ -19,7 +19,7 @@ var _ MappedNullable = &GetQuotaResponse{} // GetQuotaResponse struct for GetQuotaResponse type GetQuotaResponse struct { - // The maximum number of load balancing servers in this project. Unlimited if set to -1. + // The maximum number of load balancing servers in this project. MaxLoadBalancers *int32 `json:"maxLoadBalancers,omitempty"` // Project identifier ProjectId *string `json:"projectId,omitempty" validate:"regexp=^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"`