1. Packages
  2. Azure Native v2
  3. API Docs
  4. logz
  5. listMonitorVMHosts
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

azure-native-v2.logz.listMonitorVMHosts

Explore with Pulumi AI

These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

Response of a list VM Host Update Operation. Azure REST API version: 2022-01-01-preview.

Using listMonitorVMHosts

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function listMonitorVMHosts(args: ListMonitorVMHostsArgs, opts?: InvokeOptions): Promise<ListMonitorVMHostsResult>
function listMonitorVMHostsOutput(args: ListMonitorVMHostsOutputArgs, opts?: InvokeOptions): Output<ListMonitorVMHostsResult>
Copy
def list_monitor_vm_hosts(monitor_name: Optional[str] = None,
                          resource_group_name: Optional[str] = None,
                          opts: Optional[InvokeOptions] = None) -> ListMonitorVMHostsResult
def list_monitor_vm_hosts_output(monitor_name: Optional[pulumi.Input[str]] = None,
                          resource_group_name: Optional[pulumi.Input[str]] = None,
                          opts: Optional[InvokeOptions] = None) -> Output[ListMonitorVMHostsResult]
Copy
func ListMonitorVMHosts(ctx *Context, args *ListMonitorVMHostsArgs, opts ...InvokeOption) (*ListMonitorVMHostsResult, error)
func ListMonitorVMHostsOutput(ctx *Context, args *ListMonitorVMHostsOutputArgs, opts ...InvokeOption) ListMonitorVMHostsResultOutput
Copy

> Note: This function is named ListMonitorVMHosts in the Go SDK.

public static class ListMonitorVMHosts 
{
    public static Task<ListMonitorVMHostsResult> InvokeAsync(ListMonitorVMHostsArgs args, InvokeOptions? opts = null)
    public static Output<ListMonitorVMHostsResult> Invoke(ListMonitorVMHostsInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<ListMonitorVMHostsResult> listMonitorVMHosts(ListMonitorVMHostsArgs args, InvokeOptions options)
public static Output<ListMonitorVMHostsResult> listMonitorVMHosts(ListMonitorVMHostsArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: azure-native:logz:listMonitorVMHosts
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

MonitorName
This property is required.
Changes to this property will trigger replacement.
string
Monitor resource name
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
MonitorName
This property is required.
Changes to this property will trigger replacement.
string
Monitor resource name
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
monitorName
This property is required.
Changes to this property will trigger replacement.
String
Monitor resource name
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group. The name is case insensitive.
monitorName
This property is required.
Changes to this property will trigger replacement.
string
Monitor resource name
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
monitor_name
This property is required.
Changes to this property will trigger replacement.
str
Monitor resource name
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the resource group. The name is case insensitive.
monitorName
This property is required.
Changes to this property will trigger replacement.
String
Monitor resource name
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group. The name is case insensitive.

listMonitorVMHosts Result

The following output properties are available:

NextLink string
Link to the next set of results, if any.
Value List<Pulumi.AzureNative.Logz.Outputs.VMResourcesResponse>
Response of a list vm host update operation.
NextLink string
Link to the next set of results, if any.
Value []VMResourcesResponse
Response of a list vm host update operation.
nextLink String
Link to the next set of results, if any.
value List<VMResourcesResponse>
Response of a list vm host update operation.
nextLink string
Link to the next set of results, if any.
value VMResourcesResponse[]
Response of a list vm host update operation.
next_link str
Link to the next set of results, if any.
value Sequence[VMResourcesResponse]
Response of a list vm host update operation.
nextLink String
Link to the next set of results, if any.
value List<Property Map>
Response of a list vm host update operation.

Supporting Types

VMResourcesResponse

AgentVersion string
Version of the Logz agent installed on the VM.
Id string
Request of a list vm host update operation.
AgentVersion string
Version of the Logz agent installed on the VM.
Id string
Request of a list vm host update operation.
agentVersion String
Version of the Logz agent installed on the VM.
id String
Request of a list vm host update operation.
agentVersion string
Version of the Logz agent installed on the VM.
id string
Request of a list vm host update operation.
agent_version str
Version of the Logz agent installed on the VM.
id str
Request of a list vm host update operation.
agentVersion String
Version of the Logz agent installed on the VM.
id String
Request of a list vm host update operation.

Package Details

Repository
azure-native-v2 pulumi/pulumi-azure-native
License
Apache-2.0
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi