1. Packages
  2. Azure Native
  3. API Docs
  4. elastic
  5. listVMHost
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.0.1 published on Monday, Apr 7, 2025 by Pulumi

azure-native.elastic.listVMHost

Explore with Pulumi AI

This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.0.1 published on Monday, Apr 7, 2025 by Pulumi

Response of a list operation.

Uses Azure REST API version 2024-03-01.

Other available API versions: 2023-06-01, 2023-06-15-preview, 2023-07-01-preview, 2023-10-01-preview, 2023-11-01-preview, 2024-01-01-preview, 2024-05-01-preview, 2024-06-15-preview, 2024-10-01-preview, 2025-01-15-preview. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native elastic [ApiVersion]. See the version guide for details.

Using listVMHost

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 listVMHost(args: ListVMHostArgs, opts?: InvokeOptions): Promise<ListVMHostResult>
function listVMHostOutput(args: ListVMHostOutputArgs, opts?: InvokeOptions): Output<ListVMHostResult>
Copy
def list_vm_host(monitor_name: Optional[str] = None,
                 resource_group_name: Optional[str] = None,
                 opts: Optional[InvokeOptions] = None) -> ListVMHostResult
def list_vm_host_output(monitor_name: Optional[pulumi.Input[str]] = None,
                 resource_group_name: Optional[pulumi.Input[str]] = None,
                 opts: Optional[InvokeOptions] = None) -> Output[ListVMHostResult]
Copy
func ListVMHost(ctx *Context, args *ListVMHostArgs, opts ...InvokeOption) (*ListVMHostResult, error)
func ListVMHostOutput(ctx *Context, args *ListVMHostOutputArgs, opts ...InvokeOption) ListVMHostResultOutput
Copy

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

public static class ListVMHost 
{
    public static Task<ListVMHostResult> InvokeAsync(ListVMHostArgs args, InvokeOptions? opts = null)
    public static Output<ListVMHostResult> Invoke(ListVMHostInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<ListVMHostResult> listVMHost(ListVMHostArgs args, InvokeOptions options)
public static Output<ListVMHostResult> listVMHost(ListVMHostArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: azure-native:elastic:listVMHost
  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.

listVMHost Result

The following output properties are available:

NextLink string
Link to the next Vm resource Id, if any.
Value List<Pulumi.AzureNative.Elastic.Outputs.VMResourcesResponse>
Results of a list operation.
NextLink string
Link to the next Vm resource Id, if any.
Value []VMResourcesResponse
Results of a list operation.
nextLink String
Link to the next Vm resource Id, if any.
value List<VMResourcesResponse>
Results of a list operation.
nextLink string
Link to the next Vm resource Id, if any.
value VMResourcesResponse[]
Results of a list operation.
next_link str
Link to the next Vm resource Id, if any.
value Sequence[VMResourcesResponse]
Results of a list operation.
nextLink String
Link to the next Vm resource Id, if any.
value List<Property Map>
Results of a list operation.

Supporting Types

VMResourcesResponse

VmResourceId string
The ARM id of the VM resource.
VmResourceId string
The ARM id of the VM resource.
vmResourceId String
The ARM id of the VM resource.
vmResourceId string
The ARM id of the VM resource.
vm_resource_id str
The ARM id of the VM resource.
vmResourceId String
The ARM id of the VM resource.

Package Details

Repository
Azure Native pulumi/pulumi-azure-native
License
Apache-2.0
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.0.1 published on Monday, Apr 7, 2025 by Pulumi