ntap-CVS-GCP-API:使用GCP的示例脚本-NetApp云卷服务API动态更改服务级别

时间:2021-02-11 07:41:05
【文件属性】:
文件名称:ntap-CVS-GCP-API:使用GCP的示例脚本-NetApp云卷服务API动态更改服务级别
文件大小:22KB
文件格式:ZIP
更新时间:2021-02-11 07:41:05
Python ntap-CVS-GCP-API 使用GCP-NetApp云卷服务API的示例脚本可动态地动态更改服务级别。 设置公共变量 Python解释器3.7 service_account_file ='/Users/arjunan/Downloads/project-beta-demo-xxxxxxxxxxxx.json'#为json提供文件路径project_number = 123456789#提供您的项目号location =“ us-central1”#在此处输入您的地区volumeIDdetails =“在此处输入您的卷ID”#在此处输入您的卷ID 在python脚本的“ updateServiceLevel”定义中更改有效负载变量在def updateServiceLevel()中:根据所需的更改来更改有效负载。 payloadbasic =“ {\ n” serviceLeve
【文件预览】:
ntap-CVS-GCP-API-master
----createVolume_SMB.py(3KB)
----updateVolume_rootAccess.py(3KB)
----createVolume_NFSv3.py(3KB)
----createVolume_NFSv4.py(3KB)
----get_token.py(1KB)
----staging()
--------createVolume_NFSv4.py(3KB)
--------updateAD.py(3KB)
--------getServiceLevel.py(2KB)
----createVolume_NFSv4_EnableKebros.py(3KB)
----updateAD.py(3KB)
----README.md(992B)
----CVS_GCP_API.py(5KB)
----.idea()
--------vcs.xml(180B)
----getVolumeDetails.py(2KB)
----createVolume_SMB_CA_Encrypt_NB.py(4KB)
----updateServiceLevel.py(2KB)
----getServiceLevel.py(2KB)
----updateVolume.py(3KB)

网友评论