1. Packages
  2. Azure Native
  3. API Docs
  4. elastic
  5. listVMHost
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.47.1 published on Monday, Jun 24, 2024 by Pulumi

azure-native.elastic.listVMHost

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.47.1 published on Monday, Jun 24, 2024 by Pulumi

    Response of a list operation. Azure REST API version: 2023-06-01.

    Other available API versions: 2023-06-15-preview, 2023-07-01-preview, 2023-10-01-preview, 2023-11-01-preview, 2024-01-01-preview, 2024-03-01, 2024-05-01-preview, 2024-06-15-preview.

    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>
    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]
    func ListVMHost(ctx *Context, args *ListVMHostArgs, opts ...InvokeOption) (*ListVMHostResult, error)
    func ListVMHostOutput(ctx *Context, args *ListVMHostOutputArgs, opts ...InvokeOption) ListVMHostResultOutput

    > 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)
    }
    public static CompletableFuture<ListVMHostResult> listVMHost(ListVMHostArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: azure-native:elastic:listVMHost
      arguments:
        # arguments dictionary

    The following arguments are supported:

    MonitorName string
    Monitor resource name
    ResourceGroupName string
    The name of the resource group to which the Elastic resource belongs.
    MonitorName string
    Monitor resource name
    ResourceGroupName string
    The name of the resource group to which the Elastic resource belongs.
    monitorName String
    Monitor resource name
    resourceGroupName String
    The name of the resource group to which the Elastic resource belongs.
    monitorName string
    Monitor resource name
    resourceGroupName string
    The name of the resource group to which the Elastic resource belongs.
    monitor_name str
    Monitor resource name
    resource_group_name str
    The name of the resource group to which the Elastic resource belongs.
    monitorName String
    Monitor resource name
    resourceGroupName String
    The name of the resource group to which the Elastic resource belongs.

    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
    azure-native logo
    This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
    Azure Native v2.47.1 published on Monday, Jun 24, 2024 by Pulumi