Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add SLO to GRACE API spec #1703

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .apigentools-info
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
"spec_versions": {
"v1": {
"apigentools_version": "1.6.4",
"regenerated": "2023-03-06 21:58:44.919155",
"spec_repo_commit": "d749ce87"
"regenerated": "2023-03-07 18:54:21.584352",
"spec_repo_commit": "f09bf63c"
},
"v2": {
"apigentools_version": "1.6.4",
"regenerated": "2023-03-06 21:58:44.934778",
"spec_repo_commit": "d749ce87"
"regenerated": "2023-03-07 18:54:21.596531",
"spec_repo_commit": "f09bf63c"
}
}
}
6 changes: 4 additions & 2 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ components:
type: integer
ResourceID:
description: 'Identifier, formatted as `type:id`. Supported types: `connection`,
`dashboard`, `notebook`, `security-rule`.'
`dashboard`, `notebook`, `security-rule`, `slo`.'
example: dashboard:abc-def-ghi
in: path
name: resource_id
Expand Down Expand Up @@ -17738,7 +17738,9 @@ paths:

- Notebooks: `notebook`

- Security Rules: `security-rule`'
- Security Rules: `security-rule`

- Service Level Objectives: `slo`'
operationId: UpdateRestrictionPolicy
parameters:
- $ref: '#/components/parameters/ResourceID'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public void setApiClient(ApiClient apiClient) {
*
* @param resourceId Identifier, formatted as <code>type:id</code>. Supported types: <code>
* connection</code>, <code>dashboard</code>, <code>notebook</code>, <code>security-rule
* </code>. (required)
* </code>, <code>slo</code>. (required)
* @throws ApiException if fails to make API call
*/
public void deleteRestrictionPolicy(String resourceId) throws ApiException {
Expand All @@ -65,7 +65,7 @@ public void deleteRestrictionPolicy(String resourceId) throws ApiException {
*
* @param resourceId Identifier, formatted as <code>type:id</code>. Supported types: <code>
* connection</code>, <code>dashboard</code>, <code>notebook</code>, <code>security-rule
* </code>. (required)
* </code>, <code>slo</code>. (required)
* @return CompletableFuture
*/
public CompletableFuture<Void> deleteRestrictionPolicyAsync(String resourceId) {
Expand All @@ -81,7 +81,7 @@ public CompletableFuture<Void> deleteRestrictionPolicyAsync(String resourceId) {
*
* @param resourceId Identifier, formatted as <code>type:id</code>. Supported types: <code>
* connection</code>, <code>dashboard</code>, <code>notebook</code>, <code>security-rule
* </code>. (required)
* </code>, <code>slo</code>. (required)
* @return ApiResponse&lt;Void&gt;
* @throws ApiException if fails to make API call
* @http.response.details
Expand Down Expand Up @@ -138,7 +138,7 @@ public ApiResponse<Void> deleteRestrictionPolicyWithHttpInfo(String resourceId)
*
* @param resourceId Identifier, formatted as <code>type:id</code>. Supported types: <code>
* connection</code>, <code>dashboard</code>, <code>notebook</code>, <code>security-rule
* </code>. (required)
* </code>, <code>slo</code>. (required)
* @return CompletableFuture&lt;ApiResponse&lt;Void&gt;&gt;
*/
public CompletableFuture<ApiResponse<Void>> deleteRestrictionPolicyWithHttpInfoAsync(
Expand Down Expand Up @@ -196,7 +196,7 @@ public CompletableFuture<ApiResponse<Void>> deleteRestrictionPolicyWithHttpInfoA
*
* @param resourceId Identifier, formatted as <code>type:id</code>. Supported types: <code>
* connection</code>, <code>dashboard</code>, <code>notebook</code>, <code>security-rule
* </code>. (required)
* </code>, <code>slo</code>. (required)
* @return RestrictionPolicyResponse
* @throws ApiException if fails to make API call
*/
Expand All @@ -211,7 +211,7 @@ public RestrictionPolicyResponse getRestrictionPolicy(String resourceId) throws
*
* @param resourceId Identifier, formatted as <code>type:id</code>. Supported types: <code>
* connection</code>, <code>dashboard</code>, <code>notebook</code>, <code>security-rule
* </code>. (required)
* </code>, <code>slo</code>. (required)
* @return CompletableFuture&lt;RestrictionPolicyResponse&gt;
*/
public CompletableFuture<RestrictionPolicyResponse> getRestrictionPolicyAsync(String resourceId) {
Expand All @@ -227,7 +227,7 @@ public CompletableFuture<RestrictionPolicyResponse> getRestrictionPolicyAsync(St
*
* @param resourceId Identifier, formatted as <code>type:id</code>. Supported types: <code>
* connection</code>, <code>dashboard</code>, <code>notebook</code>, <code>security-rule
* </code>. (required)
* </code>, <code>slo</code>. (required)
* @return ApiResponse&lt;RestrictionPolicyResponse&gt;
* @throws ApiException if fails to make API call
* @http.response.details
Expand Down Expand Up @@ -284,7 +284,7 @@ public ApiResponse<RestrictionPolicyResponse> getRestrictionPolicyWithHttpInfo(S
*
* @param resourceId Identifier, formatted as <code>type:id</code>. Supported types: <code>
* connection</code>, <code>dashboard</code>, <code>notebook</code>, <code>security-rule
* </code>. (required)
* </code>, <code>slo</code>. (required)
* @return CompletableFuture&lt;ApiResponse&lt;RestrictionPolicyResponse&gt;&gt;
*/
public CompletableFuture<ApiResponse<RestrictionPolicyResponse>>
Expand Down Expand Up @@ -342,7 +342,7 @@ public ApiResponse<RestrictionPolicyResponse> getRestrictionPolicyWithHttpInfo(S
*
* @param resourceId Identifier, formatted as <code>type:id</code>. Supported types: <code>
* connection</code>, <code>dashboard</code>, <code>notebook</code>, <code>security-rule
* </code>. (required)
* </code>, <code>slo</code>. (required)
* @param body Restriction policy payload (required)
* @return RestrictionPolicyResponse
* @throws ApiException if fails to make API call
Expand All @@ -359,7 +359,7 @@ public RestrictionPolicyResponse updateRestrictionPolicy(
*
* @param resourceId Identifier, formatted as <code>type:id</code>. Supported types: <code>
* connection</code>, <code>dashboard</code>, <code>notebook</code>, <code>security-rule
* </code>. (required)
* </code>, <code>slo</code>. (required)
* @param body Restriction policy payload (required)
* @return CompletableFuture&lt;RestrictionPolicyResponse&gt;
*/
Expand All @@ -379,11 +379,11 @@ public CompletableFuture<RestrictionPolicyResponse> updateRestrictionPolicyAsync
*
* <p>Restriction policies can be applied to the following resources: - Connections: <code>
* connection</code> - Dashboards: <code>dashboard</code> - Notebooks: <code>notebook</code> -
* Security Rules: <code>security-rule</code>
* Security Rules: <code>security-rule</code> - Service Level Objectives: <code>slo</code>
*
* @param resourceId Identifier, formatted as <code>type:id</code>. Supported types: <code>
* connection</code>, <code>dashboard</code>, <code>notebook</code>, <code>security-rule
* </code>. (required)
* </code>, <code>slo</code>. (required)
* @param body Restriction policy payload (required)
* @return ApiResponse&lt;RestrictionPolicyResponse&gt;
* @throws ApiException if fails to make API call
Expand Down Expand Up @@ -447,7 +447,7 @@ public ApiResponse<RestrictionPolicyResponse> updateRestrictionPolicyWithHttpInf
*
* @param resourceId Identifier, formatted as <code>type:id</code>. Supported types: <code>
* connection</code>, <code>dashboard</code>, <code>notebook</code>, <code>security-rule
* </code>. (required)
* </code>, <code>slo</code>. (required)
* @param body Restriction policy payload (required)
* @return CompletableFuture&lt;ApiResponse&lt;RestrictionPolicyResponse&gt;&gt;
*/
Expand Down