1. Packages
  2. Azure Native
  3. API Docs
  4. network
  5. getNetworkVirtualApplianceBootDiagnosticLogs
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.5.1 published on Friday, Jun 6, 2025 by Pulumi

azure-native.network.getNetworkVirtualApplianceBootDiagnosticLogs

Explore with Pulumi AI

azure-native logo
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.5.1 published on Friday, Jun 6, 2025 by Pulumi

    Retrieves the boot diagnostic logs for a VM instance belonging to the specified Network Virtual Appliance.

    Uses Azure REST API version 2024-07-01.

    Using getNetworkVirtualApplianceBootDiagnosticLogs

    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 getNetworkVirtualApplianceBootDiagnosticLogs(args: GetNetworkVirtualApplianceBootDiagnosticLogsArgs, opts?: InvokeOptions): Promise<GetNetworkVirtualApplianceBootDiagnosticLogsResult>
    function getNetworkVirtualApplianceBootDiagnosticLogsOutput(args: GetNetworkVirtualApplianceBootDiagnosticLogsOutputArgs, opts?: InvokeOptions): Output<GetNetworkVirtualApplianceBootDiagnosticLogsResult>
    def get_network_virtual_appliance_boot_diagnostic_logs(console_screenshot_storage_sas_url: Optional[str] = None,
                                                           instance_id: Optional[int] = None,
                                                           network_virtual_appliance_name: Optional[str] = None,
                                                           resource_group_name: Optional[str] = None,
                                                           serial_console_storage_sas_url: Optional[str] = None,
                                                           opts: Optional[InvokeOptions] = None) -> GetNetworkVirtualApplianceBootDiagnosticLogsResult
    def get_network_virtual_appliance_boot_diagnostic_logs_output(console_screenshot_storage_sas_url: Optional[pulumi.Input[str]] = None,
                                                           instance_id: Optional[pulumi.Input[int]] = None,
                                                           network_virtual_appliance_name: Optional[pulumi.Input[str]] = None,
                                                           resource_group_name: Optional[pulumi.Input[str]] = None,
                                                           serial_console_storage_sas_url: Optional[pulumi.Input[str]] = None,
                                                           opts: Optional[InvokeOptions] = None) -> Output[GetNetworkVirtualApplianceBootDiagnosticLogsResult]
    func GetNetworkVirtualApplianceBootDiagnosticLogs(ctx *Context, args *GetNetworkVirtualApplianceBootDiagnosticLogsArgs, opts ...InvokeOption) (*GetNetworkVirtualApplianceBootDiagnosticLogsResult, error)
    func GetNetworkVirtualApplianceBootDiagnosticLogsOutput(ctx *Context, args *GetNetworkVirtualApplianceBootDiagnosticLogsOutputArgs, opts ...InvokeOption) GetNetworkVirtualApplianceBootDiagnosticLogsResultOutput

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

    public static class GetNetworkVirtualApplianceBootDiagnosticLogs 
    {
        public static Task<GetNetworkVirtualApplianceBootDiagnosticLogsResult> InvokeAsync(GetNetworkVirtualApplianceBootDiagnosticLogsArgs args, InvokeOptions? opts = null)
        public static Output<GetNetworkVirtualApplianceBootDiagnosticLogsResult> Invoke(GetNetworkVirtualApplianceBootDiagnosticLogsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetNetworkVirtualApplianceBootDiagnosticLogsResult> getNetworkVirtualApplianceBootDiagnosticLogs(GetNetworkVirtualApplianceBootDiagnosticLogsArgs args, InvokeOptions options)
    public static Output<GetNetworkVirtualApplianceBootDiagnosticLogsResult> getNetworkVirtualApplianceBootDiagnosticLogs(GetNetworkVirtualApplianceBootDiagnosticLogsArgs args, InvokeOptions options)
    
    fn::invoke:
      function: azure-native:network:getNetworkVirtualApplianceBootDiagnosticLogs
      arguments:
        # arguments dictionary

    The following arguments are supported:

    NetworkVirtualApplianceName string
    The name of Network Virtual Appliance.
    ResourceGroupName string
    The name of the resource group.
    ConsoleScreenshotStorageSasUrl string
    Specifies the sas-url to the storage blob into which console screen shot for the requested instance will be written
    InstanceId int
    The network virtual appliance instance id for which boot diagnostic logs is being requested
    SerialConsoleStorageSasUrl string
    Specifies the sas-url to the storage blob into which serial console logs for the requested instance will be written
    NetworkVirtualApplianceName string
    The name of Network Virtual Appliance.
    ResourceGroupName string
    The name of the resource group.
    ConsoleScreenshotStorageSasUrl string
    Specifies the sas-url to the storage blob into which console screen shot for the requested instance will be written
    InstanceId int
    The network virtual appliance instance id for which boot diagnostic logs is being requested
    SerialConsoleStorageSasUrl string
    Specifies the sas-url to the storage blob into which serial console logs for the requested instance will be written
    networkVirtualApplianceName String
    The name of Network Virtual Appliance.
    resourceGroupName String
    The name of the resource group.
    consoleScreenshotStorageSasUrl String
    Specifies the sas-url to the storage blob into which console screen shot for the requested instance will be written
    instanceId Integer
    The network virtual appliance instance id for which boot diagnostic logs is being requested
    serialConsoleStorageSasUrl String
    Specifies the sas-url to the storage blob into which serial console logs for the requested instance will be written
    networkVirtualApplianceName string
    The name of Network Virtual Appliance.
    resourceGroupName string
    The name of the resource group.
    consoleScreenshotStorageSasUrl string
    Specifies the sas-url to the storage blob into which console screen shot for the requested instance will be written
    instanceId number
    The network virtual appliance instance id for which boot diagnostic logs is being requested
    serialConsoleStorageSasUrl string
    Specifies the sas-url to the storage blob into which serial console logs for the requested instance will be written
    network_virtual_appliance_name str
    The name of Network Virtual Appliance.
    resource_group_name str
    The name of the resource group.
    console_screenshot_storage_sas_url str
    Specifies the sas-url to the storage blob into which console screen shot for the requested instance will be written
    instance_id int
    The network virtual appliance instance id for which boot diagnostic logs is being requested
    serial_console_storage_sas_url str
    Specifies the sas-url to the storage blob into which serial console logs for the requested instance will be written
    networkVirtualApplianceName String
    The name of Network Virtual Appliance.
    resourceGroupName String
    The name of the resource group.
    consoleScreenshotStorageSasUrl String
    Specifies the sas-url to the storage blob into which console screen shot for the requested instance will be written
    instanceId Number
    The network virtual appliance instance id for which boot diagnostic logs is being requested
    serialConsoleStorageSasUrl String
    Specifies the sas-url to the storage blob into which serial console logs for the requested instance will be written

    getNetworkVirtualApplianceBootDiagnosticLogs Result

    The following output properties are available:

    InstanceId int
    The network virtual appliance instance id for which boot diagnostic logs is being requested
    InstanceId int
    The network virtual appliance instance id for which boot diagnostic logs is being requested
    instanceId Integer
    The network virtual appliance instance id for which boot diagnostic logs is being requested
    instanceId number
    The network virtual appliance instance id for which boot diagnostic logs is being requested
    instance_id int
    The network virtual appliance instance id for which boot diagnostic logs is being requested
    instanceId Number
    The network virtual appliance instance id for which boot diagnostic logs is being requested

    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 v2 docs if using the v2 version of this package.
    Azure Native v3.5.1 published on Friday, Jun 6, 2025 by Pulumi