Skip to content
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
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.3.29
0.3.30
60 changes: 60 additions & 0 deletions src/UKMS/Apis/ListAliasesRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -147,4 +147,64 @@ public function setLimit($limit)
{
$this->set("Limit", $limit);
}

/**
* Alias: 按完整别名(含 alias/ 前缀)进行子串模糊匹配
*
* @return string|null
*/
public function getAlias()
{
return $this->get("Alias");
}

/**
* Alias: 按完整别名(含 alias/ 前缀)进行子串模糊匹配
*
* @param string $alias
*/
public function setAlias($alias)
{
$this->set("Alias", $alias);
}

/**
* OrderBy: 排序字段
*
* @return string|null
*/
public function getOrderBy()
{
return $this->get("OrderBy");
}

/**
* OrderBy: 排序字段
*
* @param string $orderBy
*/
public function setOrderBy($orderBy)
{
$this->set("OrderBy", $orderBy);
}

/**
* Sort: 排序方向,默认 desc
*
* @return string|null
*/
public function getSort()
{
return $this->get("Sort");
}

/**
* Sort: 排序方向,默认 desc
*
* @param string $sort
*/
public function setSort($sort)
{
$this->set("Sort", $sort);
}
}
60 changes: 60 additions & 0 deletions src/UKMS/Apis/ListKeysRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -147,4 +147,64 @@ public function setLimit($limit)
{
$this->set("Limit", $limit);
}

/**
* Status: 状态筛选:Active、Deactivated、PendingDeletion
*
* @return string|null
*/
public function getStatus()
{
return $this->get("Status");
}

/**
* Status: 状态筛选:Active、Deactivated、PendingDeletion
*
* @param string $status
*/
public function setStatus($status)
{
$this->set("Status", $status);
}

/**
* OrderBy: 排序字段
*
* @return string|null
*/
public function getOrderBy()
{
return $this->get("OrderBy");
}

/**
* OrderBy: 排序字段
*
* @param string $orderBy
*/
public function setOrderBy($orderBy)
{
$this->set("OrderBy", $orderBy);
}

/**
* Sort: 排序方向,默认 desc
*
* @return string|null
*/
public function getSort()
{
return $this->get("Sort");
}

/**
* Sort: 排序方向,默认 desc
*
* @param string $sort
*/
public function setSort($sort)
{
$this->set("Sort", $sort);
}
}
64 changes: 62 additions & 2 deletions src/UKMS/Apis/ListScheduleDeletionKeysRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public function __construct()


/**
* ProjectId: 项目ID。不填写为默认项目,子帐号必须填写。 请参考[GetProjectList接口](../summary/get_project_list.html)
* ProjectId: 项目ID。不填写为默认项目,子帐号必须填写。 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list)
*
* @return string|null
*/
Expand All @@ -38,7 +38,7 @@ public function getProjectId()
}

/**
* ProjectId: 项目ID。不填写为默认项目,子帐号必须填写。 请参考[GetProjectList接口](../summary/get_project_list.html)
* ProjectId: 项目ID。不填写为默认项目,子帐号必须填写。 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list)
*
* @param string $projectId
*/
Expand Down Expand Up @@ -106,4 +106,64 @@ public function setOrderBy($orderBy)
{
$this->set("OrderBy", $orderBy);
}

/**
* Alias: 按密钥 ID 或别名模糊过滤
*
* @return string|null
*/
public function getAlias()
{
return $this->get("Alias");
}

/**
* Alias: 按密钥 ID 或别名模糊过滤
*
* @param string $alias
*/
public function setAlias($alias)
{
$this->set("Alias", $alias);
}

/**
* ResourceId: UKMS 实例资源 ID
*
* @return string|null
*/
public function getResourceId()
{
return $this->get("ResourceId");
}

/**
* ResourceId: UKMS 实例资源 ID
*
* @param string $resourceId
*/
public function setResourceId($resourceId)
{
$this->set("ResourceId", $resourceId);
}

/**
* Sort: 排序方向,默认 desc
*
* @return string|null
*/
public function getSort()
{
return $this->get("Sort");
}

/**
* Sort: 排序方向,默认 desc
*
* @param string $sort
*/
public function setSort($sort)
{
$this->set("Sort", $sort);
}
}
90 changes: 45 additions & 45 deletions src/UKMS/Models/CMK.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,123 +43,123 @@ public function setKeyId($keyId)
}

/**
* Type: 密钥类型,仅支持UCloudManagedKeys、CustomerManagedKeys。默认值CustomerManagedKeys
* KeyType: 密钥类型,如RSA、EC、DES
*
* @return string|null
*/
public function getType()
public function getKeyType()
{
return $this->get("Type");
return $this->get("KeyType");
}

/**
* Type: 密钥类型,仅支持UCloudManagedKeys、CustomerManagedKeys。默认值CustomerManagedKeys
* KeyType: 密钥类型,如RSA、EC、DES
*
* @param string $type
* @param string $keyType
*/
public function setType($type)
public function setKeyType($keyType)
{
$this->set("Type", $type);
$this->set("KeyType", $keyType);
}

/**
* Description: 对密钥的描述说明
* CreatedTime: 创建时间
*
* @return string|null
* @return integer|null
*/
public function getDescription()
public function getCreatedTime()
{
return $this->get("Description");
return $this->get("CreatedTime");
}

/**
* Description: 对密钥的描述说明
* CreatedTime: 创建时间
*
* @param string $description
* @param int $createdTime
*/
public function setDescription($description)
public function setCreatedTime($createdTime)
{
$this->set("Description", $description);
$this->set("CreatedTime", $createdTime);
}

/**
* Enabled: 是否启用
* Alias: 别名,与CMK一一对应
*
* @return boolean|null
* @return string|null
*/
public function getEnabled()
public function getAlias()
{
return $this->get("Enabled");
return $this->get("Alias");
}

/**
* Enabled: 是否启用
* Alias: 别名,与CMK一一对应
*
* @param boolean $enabled
* @param string $alias
*/
public function setEnabled($enabled)
public function setAlias($alias)
{
$this->set("Enabled", $enabled);
$this->set("Alias", $alias);
}

/**
* CreatedTime: 创建时间 时间戳
* Status: 密钥状态 "Pre-Active", "Active", "Deactivated", "Compromised", "Destroyed", "Destroyed Compromised"
*
* @return integer|null
* @return string|null
*/
public function getCreatedTime()
public function getStatus()
{
return $this->get("CreatedTime");
return $this->get("Status");
}

/**
* CreatedTime: 创建时间 时间戳
* Status: 密钥状态 "Pre-Active", "Active", "Deactivated", "Compromised", "Destroyed", "Destroyed Compromised"
*
* @param int $createdTime
* @param string $status
*/
public function setCreatedTime($createdTime)
public function setStatus($status)
{
$this->set("CreatedTime", $createdTime);
$this->set("Status", $status);
}

/**
* LastModifiedTime: 最后修改时间 时间戳
* UpdateTime: 更新时间
*
* @return integer|null
*/
public function getLastModifiedTime()
public function getUpdateTime()
{
return $this->get("LastModifiedTime");
return $this->get("UpdateTime");
}

/**
* LastModifiedTime: 最后修改时间 时间戳
* UpdateTime: 更新时间
*
* @param int $lastModifiedTime
* @param int $updateTime
*/
public function setLastModifiedTime($lastModifiedTime)
public function setUpdateTime($updateTime)
{
$this->set("LastModifiedTime", $lastModifiedTime);
$this->set("UpdateTime", $updateTime);
}

/**
* Alias: 别名,与CMK一一对应
* Description: 对密钥的描述说明
*
* @return string|null
*/
public function getAlias()
public function getDescription()
{
return $this->get("Alias");
return $this->get("Description");
}

/**
* Alias: 别名,与CMK一一对应
* Description: 对密钥的描述说明
*
* @param string $alias
* @param string $description
*/
public function setAlias($alias)
public function setDescription($description)
{
$this->set("Alias", $alias);
$this->set("Description", $description);
}

/**
Expand Down
Loading
Loading