This survey is one of the largest studies of IT salary, skills, and certifications. It\u2019s the backbone of Skillsoft\u2019s annual IT Skills and Salary Report, which shares detailed insights on skills and certifications, compensation, skills gaps and challenges, and more for IT professionals at every stage of their career.<\/span><\/p> The survey typically takes 10-15 minutes to complete. You can bookmark your progress and pick up where you left off within one week of starting the survey. It\u2019s also completely anonymous. Skillsoft doesn\u2019t sell the data or share it with others.\u00a0<\/p> Participating in the survey is a great way to share how Nutanix certification and training has impacted your career. <\/span>Plus, anyone who completes the survey can enter to win a $100 gift card! <\/em><\/p> \u00a0<\/p> This article was written by Karlie Beil, Customer Marketing Specialist.\u00a0<\/p><\/div><\/div><\/div><\/div><\/div><\/section> \u00a0<\/p> \u00a9\ufe0f\ufe0f\ufe0f\ufe0f\ufe0f\ufe0f 2022 Nutanix, Inc. \u00a0All rights reserved. Nutanix, the Nutanix logo and all Nutanix product, feature and service names mentioned herein are registered trademarks or trademarks of Nutanix, Inc. in the United States and other countries. Other brand names mentioned herein are for identification purposes only and may be the trademarks of their respective holder(s). This post may contain links to external websites that are not part of Nutanix.com. Nutanix does not control these sites and disclaims all responsibility for the content or accuracy of any external site. Our decision to link to an external site should not be considered an endorsement of any content on such a site. This post may contain express and implied forward-looking statements, which are not historical facts and are instead based on our current expectations, estimates and beliefs. The accuracy of such statements involves risks and uncertainties and depends upon future events, including those that may be beyond our control, and actual results may differ materially and adversely from those anticipated or implied by such statements. Any forward-looking statements included herein speak only as of the date hereof and, except as required by law, we assume no obligation to update or otherwise revise any of such forward-looking statements to reflect subsequent events or circumstances.<\/p>","id":40862,"featuredImage":"https:\/\/uploads-us-west-2.insided.com\/nutanix-us\/attachment\/1b5db37d-c54b-4002-8bee-065c799897b2_thumb.png","label":"Blog","replyCount":0,"views":152,"post":{"id":61075,"author":{"id":113632,"url":"\/members\/karlie-beil-113632","name":"Karlie Beil","avatar":"https:\/\/uploads-us-west-2.insided.com\/nutanix-us\/icon\/200x200\/1581aab3-bcf6-49f4-b2fb-3d11e8c010dc.png","userTitle":"Community Manager","rank":{"isBold":false,"isItalic":false,"isUnderline":false,"name":"Community Manager","color":"#0873ba"},"userLevel":2},"content":" The 2022 IT Salary & Skills Survey is now open, and you can participate!<\/strong> <\/span><\/p> This survey is one of the largest studies of IT salary, skills, and certifications. It\u2019s the backbone of Skillsoft\u2019s annual IT Skills and Salary Report, which shares detailed insights on skills and certifications, compensation, skills gaps and challenges, and more for IT professionals at every stage of their career.<\/span><\/p> The survey typically takes 10-15 minutes to complete. You can bookmark your progress and pick up where you left off within one week of starting the survey. It\u2019s also completely anonymous. Skillsoft doesn\u2019t sell the data or share it with others.\u00a0<\/p> Participating in the survey is a great way to share how Nutanix certification and training has impacted your career. <\/span>Plus, anyone who completes the survey can enter to win a $100 gift card! <\/em><\/p> \u00a0<\/p> This article was written by Karlie Beil, Customer Marketing Specialist.\u00a0<\/p><\/div><\/div><\/div><\/div><\/div><\/section> \u00a0<\/p> \u00a9\ufe0f\ufe0f\ufe0f\ufe0f\ufe0f\ufe0f 2022 Nutanix, Inc. \u00a0All rights reserved. Nutanix, the Nutanix logo and all Nutanix product, feature and service names mentioned herein are registered trademarks or trademarks of Nutanix, Inc. in the United States and other countries. Other brand names mentioned herein are for identification purposes only and may be the trademarks of their respective holder(s). This post may contain links to external websites that are not part of Nutanix.com. Nutanix does not control these sites and disclaims all responsibility for the content or accuracy of any external site. Our decision to link to an external site should not be considered an endorsement of any content on such a site. This post may contain express and implied forward-looking statements, which are not historical facts and are instead based on our current expectations, estimates and beliefs. The accuracy of such statements involves risks and uncertainties and depends upon future events, including those that may be beyond our control, and actual results may differ materially and adversely from those anticipated or implied by such statements. Any forward-looking statements included herein speak only as of the date hereof and, except as required by law, we assume no obligation to update or otherwise revise any of such forward-looking statements to reflect subsequent events or circumstances.<\/p>","url":"\/education-blog-153\/add-your-voice-to-the-it-skills-and-salary-survey-40862?postid=61075#post61075","creationDate":"2022-05-12T20:00:15+0000","relativeCreationDate":"28 days ago"},"contentType":"article","type":3,"likes":0,"hasCurrentUserLiked":false},"phrases":{"Forum":{"{n} year|{n} years":"{n} year|{n} years","{n} month|{n} months":"{n} month|{n} months","{n} day|{n} days":"{n} day|{n} days","{n} hour|{n} hours":"{n} hour|{n} hours","{n} minute|{n} minutes":"{n} minute|{n} minutes","just":"just now","{plural} ago":"{plural} ago"}}}">
输入您的用户名或电子邮件地址。我们将向您发送带有指令的电子邮件以重置您的密码。Take the survey today!<\/strong><\/a><\/h3>
Take the survey today!<\/strong><\/a><\/h3>
使用API的库存
有没有办法通过卷曲来查看/导出VM的主机名和IP?
有人有示例o提取此信息吗?
谢谢
问候
\r\nAnybody have an example o extract this information?
\r\n
\r\nThanks
\r\nRegards","quoteUsername":"guif","translations":{"Common":{"like":"Like","unlike":"Unlike"},"Forum":{"Quote":"Quote","Share":"Share"}}}">
4个答复
以下应为您提供从返回的整个JSON中滤除的信息。我用API的V2对此进行了测试:
/prismgateway/services/rest/v2.0/vms/?length=1&include_vm_nic_nic_config=true
output = $(curl -k -x get'https:// {{ip_address}}:9440/prismgateway/services/services/rest/v2.0/vms/vms/?lenthaauthguid}} =')
回声$输出|egrep -o'“名称”: *“ [^“] *” |“ ip_address”: *“ [^“”]
我真的建议使用Python或JQ模块来解析JSON输出的钥匙值对,而不是试图将其进行EGREP。它会更干净:
https://stedolan.github.io/jq/
\r\nThe below should get you the information filtered down from the whole JSON that is returned. I tested this with V2 of the API:
\r\n\/PrismGateway\/services\/rest\/v2.0\/vms\/?length=1&include_vm_nic_config=true
\r\n
\r\noutput=$(curl -k -X GET 'https:\/\/{{IP_ADDRESS}}:9440\/PrismGateway\/services\/rest\/v2.0\/vms\/?length=1&include_vm_nic_config=true' -H 'Authorization: Basic {{AuthGuid}}=')
echo $output | egrep -o '\"name\": *\"[^\"]*\"|\"ip_address\": *\"[^\"]*\"'
<\/pre><\/div>
\r\nI would really suggest using Python or the JQ Module to parse the Key Value pairs for JSON output rather than trying to egrep it. It would be much cleaner:
\r\n
\r\nhttps:\/\/stedolan.github.io\/jq\/<\/a>","quoteUsername":"rhunt","translations":{"Common":{"like":"Like","unlike":"Unlike"},"Forum":{"Quote":"Quote","Share":"Share"}}}">
是否可以用SED提取“ iPaddresses”的内容?例如:
“ HyperVisortype”:“ KKVM”,
“ ipaddresses”:[
“ 172.10.10.10”
],,
“ Memory CapacityInbytes”:4294967296,
\r\nIs it possible to extract with sed the content of 'ipAddresses' ? for example:
\r\n
\r\n\"hypervisorType\": \"kKvm\",
\r\n \"ipAddresses\": [
\r\n \"172.10.10.10\"
\r\n ],
\r\n\"memoryCapacityInBytes\": 4294967296,","quoteUsername":"tecnicos","translations":{"Common":{"like":"Like","unlike":"Unlike"},"Forum":{"Quote":"Quote","Share":"Share"}}}">
我认为SED的正则是这样的,可以完全列出您上面列出的内容。未经测试:
\“ HyperVisortype \”:\“ [A-ZA-Z0-9]+\”,\“ ipaddresses \”:\ [\ [0-9] {1,3} \ [0-9] {0-9] {1 {1 {1,3} \。[0-9] {1,3} \。[0-9] {1,3} \“ \],\“ memorycapacityinbybytes \”:\ d+ d+
\r\nI THINK the regex for sed would look something like this to get exactly what you have listed above. Untested:
\r\n
\r\n\\\"hypervisorType\\\": \\\"[a-zA-Z0-9]+\\\",\\\"ipAddresses\\\": \\[\\\"[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\\"\\],\\\"memoryCapacityInBytes\\\": \\d+
<\/pre><\/div>","quoteUsername":"rhunt","translations":{"Common":{"like":"Like","unlike":"Unlike"},"Forum":{"Quote":"Quote","Share":"Share"}}}">
\r\n
\r\nPlease find the script
\r\n
\r\nhttps:\/\/github.com\/sandeepmp\/nutanix\/blob\/master\/get-vm-details.ps1<\/a>","quoteUsername":"sandeepmp","translations":{"Common":{"like":"Like","unlike":"Unlike"},"Forum":{"Quote":"Quote","Share":"Share"}}}">
Functional","cookiepolicy.modal.level2":"Normal
Functional + analytics","cookiepolicy.modal.level3":"Complete
Functional + analytics + social media + embedded videos"}}}">