日本熟妇hd丰满老熟妇,中文字幕一区二区三区在线不卡 ,亚洲成片在线观看,免费女同在线一区二区

授權信息

訪問控制(RAM)是阿里云提供的管理用戶身份與資源訪問權限的服務。使用RAM可以讓您避免與其他用戶共享阿里云賬號密鑰,并可按需為用戶授予最小權限。RAM中使用權限策略描述授權的具體內容。
本文為您介紹容器服務Kubernetes版(CS)為RAM權限策略定義的操作(Action)、資源(Resource)和條件(Condition)。容器服務Kubernetes版(CS)的RAM代碼(RamCode)為[{"popCode":"CS","ramCodes":["cs"]},{"popCode":"cs-inner","ramCodes":["cs"]}],支持的授權粒度為RESOURCE

權限策略通用結構

權限策略支持JSON格式,其通用結構如下:
{
  "Version": "1",
  "Statement": [
    {
      "Effect": "<Effect>",
      "Action": "<Action>",
      "Resource": "<Resource>",
      "Condition": {
        "<Condition_operator>": {
          "<Condition_key>": [
            "<Condition_value>"
          ]
        }
      }
    }
  ]
}
各字段含義如下:
  • Effect:權限策略效果。取值:Allow(允許)、Deny(拒絕)。
  • Action:授予允許或拒絕權限的具體操作。具體信息,請參見操作(Action)
  • Resource:受操作影響的具體對象,您可以使用資源ARN來描述指定資源。具體信息,請參見資源(Resource)
  • Condition:指授權生效的條件??蛇x字段。具體信息,請參見條件(Condition)。
    • Condition_operator:條件運算符,不同類型的條件對應不同的條件運算符。具體信息,請參見權限策略基本元素
    • Condition_key:條件關鍵字。
    • Condition_value:條件關鍵字對應的值。

操作(Action)

下表是容器服務Kubernetes版(CS)定義的操作,這些操作可以在RAM權限策略語句的Action元素中使用,用來授予執行該操作的權限。下面對表中的具體項提供說明:
  • 操作:是指具體的權限點。
  • API:是指操作對應的API接口。
  • 訪問級別:是指每個操作的訪問級別,取值為寫入(Write)、讀取(Read)或列出(List)。
  • 資源類型:是指操作中支持授權的資源類型。具體說明如下:
    • 對于必選的資源類型,用背景高亮的方式表示。
    • 對于不支持資源級授權的操作,用全部資源表示。
  • 條件關鍵字:是指云產品自身定義的條件關鍵字。該列不體現適用于任何操作的通用條件關鍵字。
  • 關聯操作:是指成功執行操作所需要的其他權限。操作者必須同時具備關聯操作的權限,操作才能成功。
操作API訪問級別資源類型條件關鍵字關聯操作
cs:DescribeClusterDetailDescribeClusterDetailget
Cluster
acs:cs:{#regionId}:{#accountId}:cluster/{#ClusterId}
cs:TagResourcesTagResourcesupdate
全部資源
*
cs:DescribeClusterAddonInstanceDescribeClusterAddonInstanceget
Cluster
acs:cs:{#regionId}:{#accountId}:cluster/{#ClusterId}
cs:ModifyClusterAddonModifyClusterAddonupdate
Cluster
acs:cs:{#regionId}:{#accountId}:cluster/{#ClusterId}
cs:AddonName
cs:AddonNames
cs:CreateAutoscalingConfigCreateAutoscalingConfigcreate
Cluster
acs:cs:{#regionId}:{#accountId}:cluster/{#ClusterId}
cs:DescribeClusterNodePoolsDescribeClusterNodePoolsget
Cluster
acs:cs:{#regionId}:{#accountId}:cluster/{#ClusterId}
cs:DescribeClusterTasksDescribeClusterTasksget
Cluster
acs:cs:{#regionId}:{#accountId}:cluster/{#cluster_id}
cs:DescribeNodePoolVulsDescribeNodePoolVulsget
Cluster
acs:cs:{#regionId}:{#accountId}:cluster/{#cluster_id}
cs:GetUserPermissionsDescribeUserPermissionget
全部資源
*
cs:CreateTriggerCreateTriggercreate
全部資源
*
cs:CreateClusterNodePoolCreateClusterNodePoolcreate
Cluster
acs:cs:{#regionId}:{#accountId}:cluster/{#ClusterId}
cs:GrantPermissionGrantPermissionsupdate
全部資源
*
cs:CheckControlPlaneLogEnableCheckControlPlaneLogEnableget
Cluster
acs:cs:{#regionId}:{#accountId}:cluster/{#ClusterId}
cs:DescribeEventsForRegionDescribeEventsForRegionlist
全部資源
*
cs:DescribeClusterResourcesDescribeClusterResourcesget
Cluster
acs:cs:{#regionId}:{#accountId}:cluster/{#ClusterId}
cs:DescribeClusterUserKubeconfigDescribeClusterUserKubeconfigget
Cluster
acs:cs:{#regionId}:{#accountId}:cluster/{#ClusterId}
cs:KubeConfigDurationMinutes
cs:DescribeUserClusterNamespacesDescribeUserClusterNamespacesget
Cluster
acs:cs:{#regionId}:{#accountId}:cluster/{#ClusterId}
cs:OpenAckServiceOpenAckServiceupdate
全部資源
*
cs:CreateTemplateCreateTemplatecreate
全部資源
*
cs:DescribeKubernetesVersionMetadataDescribeKubernetesVersionMetadataget
全部資源
*
cs:Queryk8sComponentsUpdateVersionDescribeClusterAddonsVersionget
Cluster
acs:cs:{#regionId}:{#accountId}:cluster/{#ClusterId}
cs:DescribeTemplateAttributeDescribeTemplateAttributeget
全部資源
*
cs:ResumeTaskResumeTaskupdate
全部資源
*
cs:DescribeClusterNodesDescribeClusterNodesget
Cluster
acs:cs:{#regionId}:{#accountId}:cluster/{#ClusterId}
cs:PauseClusterUpgradePauseClusterUpgradeupdate
Cluster
acs:cs:{#regionId}:{#accountId}:cluster/{#ClusterId}
cs:ModifyClusterTagsModifyClusterTagsupdate
Cluster
acs:cs:{#regionId}:{#accountId}:cluster/{#ClusterId}
cs:UpdateControlPlaneLogUpdateControlPlaneLogWrite
Cluster
acs:cs:{#regionId}:{#accountId}:cluster/{#ClusterId}
cs:EnableCoreControlPlaneComponentsLog
cs:UntagResourcesUntagResourcesdelete
全部資源
*
cs:DeleteTemplateDeleteTemplatedelete
全部資源
*
cs:DescribeTriggerDescribeTriggerget
Cluster
acs:cs:{#regionId}:{#accountId}:cluster/{#ClusterId}
cs:ModifyNodePoolNodeConfigModifyNodePoolNodeConfigupdate
Cluster
acs:cs:{#regionId}:{#accountId}:cluster/{#ClusterId}
cs:GetUpgradeStatusGetUpgradeStatusget
Cluster
acs:cs:{#regionId}:{#accountId}:cluster/{#ClusterId}
cs:ListOperationPlansListOperationPlanslist
全部資源
*
cs:DescribeAddonDescribeAddonget
全部資源
*
cs:DescribeClusterAddonsUpgradeStatusDescribeClusterAddonsUpgradeStatusget
Cluster
acs:cs:{#regionId}:{#accountId}:cluster/{#ClusterId}
cs:DescribeClusterNodePoolDetailDescribeClusterNodePoolDetailget
Cluster
acs:cs:{#regionId}:{#accountId}:cluster/{#ClusterId}
cs:ModifyClusterNodePoolModifyClusterNodePoolupdate
Cluster
acs:cs:{#regionId}:{#accountId}:cluster/{#ClusterId}
cs:DescribeTaskInfoDescribeTaskInfoget
全部資源
*
cs:ListClusterChecksListClusterCheckslist
Cluster
acs:cs:{#regionId}:{#accountId}:cluster/{#ClusterId}
cs:UpgradeClusterUpgradeClusterupdate
Cluster
acs:cs:{#regionId}:{#accountId}:cluster/{#ClusterId}
cs:GetClusterAddonInstanceGetClusterAddonInstanceget
Cluster
acs:cs:{#regionId}:{#accountId}:cluster/{#ClusterId}
cs:AttachInstancesToNodePoolAttachInstancesToNodePoolupdate
Cluster
acs:cs:{#regionId}:{#accountId}:cluster/{#ClusterId}
cs:InstallClusterAddonsInstallClusterAddonscreate
Cluster
acs:cs:{#regionId}:{#accountId}:cluster/{#ClusterId}
cs:AddonNames
cs:ListClusterAddonInstancesListClusterAddonInstanceslist
Cluster
acs:cs:{#regionId}:{#accountId}:cluster/{#ClusterId}
cs:CreateClusterCreateClustercreate
Cluster
acs:cs:{#regionId}:{#accountId}:cluster/*
cs:ClusterType
cs:ClusterSpec
cs:ClusterProfile
cs:EnableSecretEncryption
cs:EnableApiServerEip
cs:EnableAddonLogtailDs
cs:EnableCoreControlPlaneComponentsLog
cs:AddonNames
cs:ModifyClusterModifyClusterupdate
Cluster
acs:cs:{#regionId}:{#accountId}:cluster/{#ClusterId}
cs:EnableApiServerEip
cs:ApiServerEipId
cs:DeleteTriggerDeleteTriggerdelete
Cluster
acs:cs:{#regionId}:{#accountId}:cluster/{#ClusterId}
cs:ListTagResourcesListTagResourcesget
全部資源
*
cs:UpdateTemplateUpdateTemplateupdate
全部資源
*
cs:DescribeClustersForRegionDescribeClustersForRegionlist
全部資源
*
cs:UpgradeClusterNodepoolUpgradeClusterNodepoolupdate
Cluster
acs:cs:{#regionId}:{#accountId}:cluster/{#ClusterId}
cs:DescribeClusterLogsDescribeClusterLogsget
Cluster
acs:cs:{#regionId}:{#accountId}:cluster/{#ClusterId}
cs:DescribeClusterAddonMetadataDescribeClusterAddonMetadataget
Cluster
acs:cs:{#regionId}:{#accountId}:cluster/{#ClusterId}
cs:DescribeSubaccountK8sClusterUserConfigDescribeSubaccountK8sClusterUserConfigget
Cluster
acs:cs:{#regionId}:{#accountId}:cluster/{#ClusterId}
cs:DeleteClusterDeleteClusterdelete
Cluster
acs:cs:{#regionId}:{#accountId}:cluster/{#ClusterId}
cs:RepairClusterNodePoolRepairClusterNodePoolupdate
Cluster
acs:cs:{#regionId}:{#accountId}:cluster/{#cluster_id}
cs:DescribePolicyInstancesDescribePolicyInstancesget
Cluster
acs:cs:{#regionId}:{#accountId}:cluster/{#ClusterId}
cs:GetClustersDescribeClustersV1get
全部資源
*
cs:ScaleClusterNodePoolScaleClusterNodePoolupdate
Cluster
acs:cs:{#regionId}:{#accountId}:cluster/{#ClusterId}
cs:DescribeClusterAttachScriptsDescribeClusterAttachScriptsupdate
Cluster
acs:cs:{#regionId}:{#accountId}:cluster/{#ClusterId}
cs:DescribeClusterEventsDescribeClusterEventsget
Cluster
acs:cs:{#regionId}:{#accountId}:cluster/{#ClusterId}
cs:CancelOperationPlanCancelOperationPlandelete
全部資源
*
cs:RunClusterCheckRunClusterChecknone
Cluster
acs:cs:{#regionId}:{#accountId}:cluster/{#ClusterId}
cs:FixNodePoolVulsFixNodePoolVulsupdate
Cluster
acs:cs:{#regionId}:{#accountId}:cluster/{#cluster_id}
cs:ListAddonsListAddonslist
全部資源
*
cs:DescribeTemplatesDescribeTemplatesget
全部資源
*
cs:UpdateUserPermissionsUpdateUserPermissionsnone
全部資源
*
cs:DescribeEventsDescribeEventsget
全部資源
*
cs:CancelTaskCancelTaskupdate
全部資源
*
cs:UpgradeK8sComponentsUpgradeClusterAddonsupdate
Cluster
acs:cs:{#regionId}:{#accountId}:cluster/{#ClusterId}
cs:DescribePolicyInstancesStatusDescribePolicyInstancesStatusget
Cluster
acs:cs:{#regionId}:{#accountId}:cluster/{#ClusterId}
cs:PauseTaskPauseTaskupdate
全部資源
*
cs:UnInstallClusterAddonsUnInstallClusterAddonsdelete
Cluster
acs:cs:{#regionId}:{#accountId}:cluster/{#ClusterId}
cs:EnableAddonLogtailDs
cs:DeleteClusterNodepoolDeleteClusterNodepooldelete
Cluster
acs:cs:{#regionId}:{#accountId}:cluster/{#ClusterId}
cs:RemoveNodePoolNodesRemoveNodePoolNodesupdate
Cluster
acs:cs:{#regionId}:{#accountId}:cluster/{#ClusterId}
cs:GetClusterCheckGetClusterChecklist
Cluster
acs:cs:{#regionId}:{#accountId}:cluster/{#ClusterId}
cs:CancelClusterUpgradeCancelClusterUpgradedelete
Cluster
acs:cs:{#regionId}:{#accountId}:cluster/{#ClusterId}
cs:UpdateK8sClusterUserConfigExpireUpdateK8sClusterUserConfigExpireupdate
Cluster
acs:cs:{#regionId}:{#accountId}:cluster/{#ClusterId}
cs:ResumeUpgradeClusterResumeUpgradeClusterupdate
Cluster
acs:cs:{#regionId}:{#accountId}:cluster/{#ClusterId}
cs:SyncClusterNodePoolSyncClusterNodePoolupdate
Cluster
acs:cs:{#regionId}:{#accountId}:cluster/{#ClusterId}
cs:DescribeAddonsDescribeAddonsget
全部資源
*

資源(Resource)

下表是容器服務Kubernetes版(CS)定義的資源,這些資源可以在RAM權限策略語句的Resource元素中使用,用來授予對該資源執行具體操作的權限。 其中,資源ARN是資源在阿里云上的唯一標識。具體說明如下:
  • {#}為變量標識,需要您替換為實際值。例如:{#ramcode}需要您替換為實際的云服務RAM代碼。
  • *表示全部。例如:
    • {#resourceType}*時:表示全部資源。
    • {#regionId}*時:表示全部地域。
    • {#accountId}*時:表示全部阿里云賬號。
資源類型資源ARN
Clusteracs:cs:{#regionId}:{#accountId}:cluster/{#ClusterId}
Clusteracs:cs:{#regionId}:{#accountId}:cluster/{#cluster_id}
Clusteracs:cs:{#regionId}:{#accountId}:cluster/*
Unrestrictedacs:cs:*:{#accountId}:cluster/*
Clusteracs:cs:*:{#accountId}:cluster/*
Unrestrictedacs:cs:{#regionId}:{#accountId}:*
Clusteracs:cs::{#accountId}:cluster/{#ClusterId}

條件(Condition)

下表是容器服務Kubernetes版(CS)定義的產品級條件關鍵字,這些條件關鍵字可以在RAM權限策略語句的Condition元素中使用,用來描述授予權限的條件。以下僅列舉產品級的條件關鍵字,阿里云定義的通用條件關鍵字也同樣適用容器服務Kubernetes版(CS)
其中,數據類型決定了您可以使用哪些條件運算符將請求中的值與權限策略語句中的值進行比較。您必須使用與數據類型匹配的條件運算符,否則無法匹配策略語句,授權行為無效。數據類型與條件運算符的對應關系,請參見條件操作類型
條件關鍵字描述類型
cs:ClusterType集群類型String
cs:ClusterSpec托管版集群規格String
cs:ClusterProfile托管版集群子類型標識String
cs:EnableSecretEncryptionACK集群是否開啟Secret落盤加密Boolean
cs:EnableApiServerEip集群是否開啟API Server公網訪問Boolean
cs:ApiServerEipId集群API Server綁定的EIP實例ID,示例值:eip-2zep1n4o1ic48m3m****String
cs:KubeConfigDurationMinutes集群KubeConfig憑證的有效期(分鐘)Numeric
cs:AddonName集群組件名稱,示例值:aliyun-acr-credential-helper,metrics-serverString
cs:EnableAddonLogtailDs集群是否開啟日志組件logtail-dsBoolean
cs:EnableCoreControlPlaneComponentsLog集群是否開啟控制面核心組件日志功能Boolean
cs:AddonNames集群組件操作的對象,示例值:[&quot;metrics-server&quot;,&quot;terway-eniip&quot;]String

相關操作

您可以創建自定義權限策略,并將權限策略授予RAM用戶、RAM用戶組或RAM角色。具體操作如下: