我试图编写一个powershell查询来返回下表:
NAME STATUS RESOURCE GROUP VMSIZE SIZEREASON (TAG) LOCATION PUBLIC DNS NAME
我可以使用Get-AzureRmVM | Select-Object Name, ResourceGroupName, Location,但是当我试图在VmSize上添加时,列在那里但没有值。
如果我只运行Get-AzureRmVM,那么我就得到了VmSize,所以我不明白为什么不能选择它。
我还需要知道如何添加状态、SIZEREASON (TAG)、公共DNS名称
任
我想要将Windows Server Container添加到Azure kubernetes Cluster.Currenty,使用Azure Rest API来管理显示以下错误的cluster.But:
{
"code": "AzureCNIOnlyForWindows",
"message": "Windows agent pools can only be added to AKS clusters using Azure-CNI."
}
{
"location": "location
假设一个java对象的值最初是x。如果该对象首先被序列化,然后被反序列化,那么这个对象的值会改变为其他值吗?
public void serDesSaveTenantConfigWithoutActivation() {
JaxbSerializer serializer = new JaxbSerializer();
StringWriter sw = new StringWriter();
final Properties props = new Properties();
props.setProperty(TMN_VMSIZE, "LITE
我找到了,但它似乎有点过时:
#!/usr/bin/perl
# Copyright Ben Maurer
# you can distribute this under the MIT/X11 License
use Linux::Smaps;
my $pid=shift @ARGV;
unless ($pid) {
print "./smem.pl <pid>\n";
exit 1;
}
my $map=Linux::Smaps->new($pid);
my @VMAs = $map->vmas;
format
我正在尝试获得一个查询,以检查Azure中的VM代理状态。目前我正在使用RestAPI,但是我需要为每台机器调用一个API,我想用Azure图来在一个请求中列出所有具有Azure代理状态的VM。
这是Azure图中的查询
Resources
| where type in~ ("microsoft.compute/virtualmachines","microsoft.classiccompute/virtualmachines")
但在属性下,代理的状态不可用。有什么想法吗?
我试着列出扩展,但它也没有帮助,使用这个查询:
Resources
| where