|
3465 | 3465 | }
|
3466 | 3466 | }
|
3467 | 3467 | },
|
| 3468 | + "/subscriptions/{subscriptionId}/providers/Microsoft.ContainerService/locations/{location}/safeguardsVersions/{version}": { |
| 3469 | + "get": { |
| 3470 | + "tags": [ |
| 3471 | + "ManagedClusters" |
| 3472 | + ], |
| 3473 | + "operationId": "ManagedClusters_GetSafeguardsVersions", |
| 3474 | + "summary": "Gets supported Safeguards version in the specified subscription and location.", |
| 3475 | + "description": "Contains Safeguards version along with its support info and whether it is a default version.", |
| 3476 | + "parameters": [ |
| 3477 | + { |
| 3478 | + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" |
| 3479 | + }, |
| 3480 | + { |
| 3481 | + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" |
| 3482 | + }, |
| 3483 | + { |
| 3484 | + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/LocationParameter" |
| 3485 | + }, |
| 3486 | + { |
| 3487 | + "$ref": "#/parameters/VersionParameter" |
| 3488 | + } |
| 3489 | + ], |
| 3490 | + "responses": { |
| 3491 | + "200": { |
| 3492 | + "description": "OK", |
| 3493 | + "schema": { |
| 3494 | + "$ref": "#/definitions/SafeguardsAvailableVersion" |
| 3495 | + } |
| 3496 | + }, |
| 3497 | + "default": { |
| 3498 | + "description": "Error response describing why the operation failed", |
| 3499 | + "schema": { |
| 3500 | + "$ref": "#/definitions/CloudError" |
| 3501 | + } |
| 3502 | + } |
| 3503 | + }, |
| 3504 | + "x-ms-examples": { |
| 3505 | + "Get Safeguards available versions": { |
| 3506 | + "$ref": "./examples/GetSafeguardsVersions.json" |
| 3507 | + } |
| 3508 | + } |
| 3509 | + } |
| 3510 | + }, |
| 3511 | + "/subscriptions/{subscriptionId}/providers/Microsoft.ContainerService/locations/{location}/safeguardsVersions": { |
| 3512 | + "get": { |
| 3513 | + "tags": [ |
| 3514 | + "ManagedClusters" |
| 3515 | + ], |
| 3516 | + "operationId": "ManagedClusters_ListSafeguardsVersions", |
| 3517 | + "summary": "Gets a list of supported Safeguards versions in the specified subscription and location.", |
| 3518 | + "description": "Contains list of Safeguards version along with its support info and whether it is a default version.", |
| 3519 | + "parameters": [ |
| 3520 | + { |
| 3521 | + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" |
| 3522 | + }, |
| 3523 | + { |
| 3524 | + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" |
| 3525 | + }, |
| 3526 | + { |
| 3527 | + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/LocationParameter" |
| 3528 | + } |
| 3529 | + ], |
| 3530 | + "responses": { |
| 3531 | + "200": { |
| 3532 | + "description": "OK", |
| 3533 | + "schema": { |
| 3534 | + "$ref": "#/definitions/SafeguardsAvailableVersionsList" |
| 3535 | + } |
| 3536 | + }, |
| 3537 | + "default": { |
| 3538 | + "description": "Error response describing why the operation failed.", |
| 3539 | + "schema": { |
| 3540 | + "$ref": "#/definitions/CloudError" |
| 3541 | + } |
| 3542 | + } |
| 3543 | + }, |
| 3544 | + "x-ms-pageable": { |
| 3545 | + "nextLinkName": "nextLink" |
| 3546 | + }, |
| 3547 | + "x-ms-examples": { |
| 3548 | + "List Safeguards Versions": { |
| 3549 | + "$ref": "./examples/ListSafeguardsVersions.json" |
| 3550 | + } |
| 3551 | + } |
| 3552 | + } |
| 3553 | + }, |
3468 | 3554 | "/subscriptions/{subscriptionId}/providers/Microsoft.ContainerService/locations/{location}/meshRevisionProfiles": {
|
3469 | 3555 | "get": {
|
3470 | 3556 | "tags": [
|
|
5726 | 5812 | "azureMonitorProfile": {
|
5727 | 5813 | "$ref": "#/definitions/ManagedClusterAzureMonitorProfile"
|
5728 | 5814 | },
|
5729 |
| - "guardrailsProfile": { |
5730 |
| - "$ref": "#/definitions/GuardrailsProfile", |
5731 |
| - "description": "The guardrails profile holds all the guardrails information for a given cluster" |
| 5815 | + "safeguardsProfile": { |
| 5816 | + "$ref": "#/definitions/SafeguardsProfile", |
| 5817 | + "description": "The Safeguards profile holds all the safeguards information for a given cluster" |
5732 | 5818 | },
|
5733 | 5819 | "serviceMeshProfile": {
|
5734 | 5820 | "$ref": "#/definitions/ServiceMeshProfile"
|
|
7554 | 7640 | }
|
7555 | 7641 | }
|
7556 | 7642 | },
|
| 7643 | + "SafeguardsAvailableVersionsProperties": { |
| 7644 | + "type": "object", |
| 7645 | + "description": "Whether the version is default or not and support info.", |
| 7646 | + "properties": { |
| 7647 | + "isDefaultVersion": { |
| 7648 | + "type": "boolean", |
| 7649 | + "readOnly": true |
| 7650 | + }, |
| 7651 | + "support": { |
| 7652 | + "type": "string", |
| 7653 | + "enum": [ |
| 7654 | + "Preview", |
| 7655 | + "Stable" |
| 7656 | + ], |
| 7657 | + "x-ms-enum": { |
| 7658 | + "name": "SafeguardsSupport", |
| 7659 | + "modelAsString": true, |
| 7660 | + "values": [ |
| 7661 | + { |
| 7662 | + "value": "Preview", |
| 7663 | + "description": "The version is preview. It is not recommended to use preview versions on critical production clusters. The preview version may not support all use-cases." |
| 7664 | + }, |
| 7665 | + { |
| 7666 | + "value": "Stable", |
| 7667 | + "description": "The version is stable and can be used on critical production clusters." |
| 7668 | + } |
| 7669 | + ] |
| 7670 | + }, |
| 7671 | + "description": "Whether the version is preview or stable.", |
| 7672 | + "readOnly": true |
| 7673 | + } |
| 7674 | + } |
| 7675 | + }, |
| 7676 | + "SafeguardsAvailableVersion": { |
| 7677 | + "type": "object", |
| 7678 | + "description": "Available Safeguards Version", |
| 7679 | + "allOf": [ |
| 7680 | + { |
| 7681 | + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/Resource" |
| 7682 | + } |
| 7683 | + ], |
| 7684 | + "properties": { |
| 7685 | + "properties": { |
| 7686 | + "$ref": "#/definitions/SafeguardsAvailableVersionsProperties" |
| 7687 | + } |
| 7688 | + }, |
| 7689 | + "required": [ |
| 7690 | + "properties" |
| 7691 | + ] |
| 7692 | + }, |
| 7693 | + "SafeguardsAvailableVersionsList": { |
| 7694 | + "type": "object", |
| 7695 | + "description": "Hold values properties, which is array of SafeguardsVersions", |
| 7696 | + "properties": { |
| 7697 | + "value": { |
| 7698 | + "type": "array", |
| 7699 | + "items": { |
| 7700 | + "$ref": "#/definitions/SafeguardsAvailableVersion" |
| 7701 | + }, |
| 7702 | + "description": "Array of AKS supported Safeguards versions." |
| 7703 | + }, |
| 7704 | + "nextLink": { |
| 7705 | + "type": "string", |
| 7706 | + "description": "The URL to get the next Safeguards available version.", |
| 7707 | + "readOnly": true |
| 7708 | + } |
| 7709 | + } |
| 7710 | + }, |
7557 | 7711 | "EndpointDependency": {
|
7558 | 7712 | "description": "A domain name that AKS agent nodes are reaching at.",
|
7559 | 7713 | "type": "object",
|
|
8562 | 8716 | "enabled"
|
8563 | 8717 | ]
|
8564 | 8718 | },
|
8565 |
| - "GuardrailsProfile": { |
| 8719 | + "SafeguardsProfile": { |
8566 | 8720 | "type": "object",
|
8567 | 8721 | "properties": {
|
8568 | 8722 | "systemExcludedNamespaces": {
|
8569 | 8723 | "readOnly": true,
|
8570 | 8724 | "type": "array",
|
8571 |
| - "description": "List of namespaces specified by AKS to be excluded from Guardrails", |
| 8725 | + "description": "List of namespaces specified by AKS to be excluded from Safeguards", |
8572 | 8726 | "items": {
|
8573 | 8727 | "type": "string"
|
8574 | 8728 | }
|
|
8588 | 8742 | "name": "level",
|
8589 | 8743 | "modelAsString": true
|
8590 | 8744 | },
|
8591 |
| - "description": "The guardrails level to be used. By default, Guardrails is enabled for all namespaces except those that AKS excludes via systemExcludedNamespaces" |
| 8745 | + "description": "The Safeguards level to be used. By default, Safeguards is enabled for all namespaces except those that AKS excludes via systemExcludedNamespaces" |
8592 | 8746 | },
|
8593 | 8747 | "excludedNamespaces": {
|
8594 |
| - "description": "List of namespaces excluded from guardrails checks", |
| 8748 | + "description": "List of namespaces excluded from Safeguards checks", |
8595 | 8749 | "type": "array",
|
8596 | 8750 | "items": {
|
8597 | 8751 | "type": "string"
|
|
8601 | 8755 | "required": [
|
8602 | 8756 | "level"
|
8603 | 8757 | ],
|
8604 |
| - "description": "The Guardrails profile." |
| 8758 | + "description": "The Safeguards profile." |
8605 | 8759 | },
|
8606 | 8760 | "ServiceMeshProfile": {
|
8607 | 8761 | "type": "object",
|
|
9277 | 9431 | "type": "string",
|
9278 | 9432 | "minLength": 1,
|
9279 | 9433 | "maxLength": 24,
|
9280 |
| - "description": "Guardrails version", |
| 9434 | + "description": "Safeguards version", |
9281 | 9435 | "x-ms-parameter-location": "method"
|
9282 | 9436 | }
|
9283 | 9437 | }
|
|
0 commit comments