All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.aliyun.cs20151215.models.CleanUserPermissionsShrinkRequest Maven / Gradle / Ivy

There is a newer version: 4.8.0
Show newest version
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.cs20151215.models;

import com.aliyun.tea.*;

public class CleanUserPermissionsShrinkRequest extends TeaModel {
    /**
     * 

The cluster IDs.

*
    *
  • If cluster IDs are specified, only the kubeconfig files of the specified clusters and the relevant RBAC permissions are deleted and revoked.
  • *
*/ @NameInMap("ClusterIds") public String clusterIdsShrink; /** *

Specifies whether to forcefully delete the specified kubeconfig files. Valid values:

*
    *
  • false (default): checks the cluster access records within the previous seven days before deleting the kubeconfig files. The kubeconfig files are not deleted if cluster access records are found or fail to be retrieved.
  • *
  • true: forcefully deletes the kubeconfig files without checking cluster access records.
  • *
* * example: *

false

*/ @NameInMap("Force") public Boolean force; public static CleanUserPermissionsShrinkRequest build(java.util.Map map) throws Exception { CleanUserPermissionsShrinkRequest self = new CleanUserPermissionsShrinkRequest(); return TeaModel.build(map, self); } public CleanUserPermissionsShrinkRequest setClusterIdsShrink(String clusterIdsShrink) { this.clusterIdsShrink = clusterIdsShrink; return this; } public String getClusterIdsShrink() { return this.clusterIdsShrink; } public CleanUserPermissionsShrinkRequest setForce(Boolean force) { this.force = force; return this; } public Boolean getForce() { return this.force; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy