1. Packages
  2. Azure Native v2
  3. API Docs
  4. logz
  5. listSubAccountVMHosts
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.listSubAccountVMHosts

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 listSubAccountVMHosts

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 listSubAccountVMHosts(args: ListSubAccountVMHostsArgs, opts?: InvokeOptions): Promise<ListSubAccountVMHostsResult>
function listSubAccountVMHostsOutput(args: ListSubAccountVMHostsOutputArgs, opts?: InvokeOptions): Output<ListSubAccountVMHostsResult>
Copy
def list_sub_account_vm_hosts(monitor_name: Optional[str] = None,
                              resource_group_name: Optional[str] = None,
                              sub_account_name: Optional[str] = None,
                              opts: Optional[InvokeOptions] = None) -> ListSubAccountVMHostsResult
def list_sub_account_vm_hosts_output(monitor_name: Optional[pulumi.Input[str]] = None,
                              resource_group_name: Optional[pulumi.Input[str]] = None,
                              sub_account_name: Optional[pulumi.Input[str]] = None,
                              opts: Optional[InvokeOptions] = None) -> Output[ListSubAccountVMHostsResult]
Copy
func ListSubAccountVMHosts(ctx *Context, args *ListSubAccountVMHostsArgs, opts ...InvokeOption) (*ListSubAccountVMHostsResult, error)
func ListSubAccountVMHostsOutput(ctx *Context, args *ListSubAccountVMHostsOutputArgs, opts ...InvokeOption) ListSubAccountVMHostsResultOutput
Copy

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

public static class ListSubAccountVMHosts 
{
    public static Task<ListSubAccountVMHostsResult> InvokeAsync(ListSubAccountVMHostsArgs args, InvokeOptions? opts = null)
    public static Output<ListSubAccountVMHostsResult> Invoke(ListSubAccountVMHostsInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<ListSubAccountVMHostsResult> listSubAccountVMHosts(ListSubAccountVMHostsArgs args, InvokeOptions options)
public static Output<ListSubAccountVMHostsResult> listSubAccountVMHosts(ListSubAccountVMHostsArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: azure-native:logz:listSubAccountVMHosts
  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.
SubAccountName
This property is required.
Changes to this property will trigger replacement.
string
Sub Account resource name
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.
SubAccountName
This property is required.
Changes to this property will trigger replacement.
string
Sub Account resource name
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.
subAccountName
This property is required.
Changes to this property will trigger replacement.
String
Sub Account resource name
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.
subAccountName
This property is required.
Changes to this property will trigger replacement.
string
Sub Account resource name
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.
sub_account_name
This property is required.
Changes to this property will trigger replacement.
str
Sub Account resource name
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.
subAccountName
This property is required.
Changes to this property will trigger replacement.
String
Sub Account resource name

listSubAccountVMHosts 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