netapp.storagegrid.na_sg_grid_regions 模块 – NetApp StorageGRID 网格区域管理。
注意
此模块是 netapp.storagegrid 集合 (版本 21.13.0) 的一部分。
如果您使用的是 ansible 软件包,则可能已经安装了此集合。它不包含在 ansible-core 中。要检查它是否已安装,请运行 ansible-galaxy collection list。
要安装它,请使用: ansible-galaxy collection install netapp.storagegrid。
要在 playbook 中使用它,请指定: netapp.storagegrid.na_sg_grid_regions。
netapp.storagegrid 20.6.0 中的新增功能
概要
- 在 NetApp StorageGRID 租户中创建、更新和删除用户。 
参数
| 参数 | 注释 | 
|---|---|
| StorageGRID 管理节点 REST API 的 URL。 | |
| API 请求的授权令牌 | |
| 区域列表 | |
| 指定的用户是否存在。 选项 
 | |
| 是否应该验证 https 证书? 选项 
 | 
注释
注意
- 以 - na_sg为前缀的模块用于管理 NetApp StorageGRID。
示例
- name: update Regions
  netapp.storagegrid.na_sg_grid_regions:
    api_url: "https://<storagegrid-endpoint-url>"
    auth_token: "storagegrid-auth-token"
    validate_certs: false
    state: present
    regions: "us-east-1"
返回值
常用的返回值已在 此处 记录,以下是此模块特有的字段
| 键 | 描述 | 
|---|---|
| 返回有关已配置区域的信息。 返回:成功 示例:  | 
