Retrieves the boot diagnostic logs for a VM instance belonging to the specified Network Virtual Appliance.
Uses Azure REST API version 2024-07-01.
Other available API versions: 2024-10-01. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native network [ApiVersion]. See the version guide for details.
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 dictionaryThe following arguments are supported:
- Network
Virtual stringAppliance Name - The name of Network Virtual Appliance.
- Resource
Group stringName - The name of the resource group.
- Console
Screenshot stringStorage Sas Url - 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 stringStorage Sas Url - Specifies the sas-url to the storage blob into which serial console logs for the requested instance will be written
- Network
Virtual stringAppliance Name - The name of Network Virtual Appliance.
- Resource
Group stringName - The name of the resource group.
- Console
Screenshot stringStorage Sas Url - 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 stringStorage Sas Url - Specifies the sas-url to the storage blob into which serial console logs for the requested instance will be written
- network
Virtual StringAppliance Name - The name of Network Virtual Appliance.
- resource
Group StringName - The name of the resource group.
- console
Screenshot StringStorage Sas Url - Specifies the sas-url to the storage blob into which console screen shot for the requested instance will be written
- instance
Id Integer - The network virtual appliance instance id for which boot diagnostic logs is being requested
- serial
Console StringStorage Sas Url - Specifies the sas-url to the storage blob into which serial console logs for the requested instance will be written
- network
Virtual stringAppliance Name - The name of Network Virtual Appliance.
- resource
Group stringName - The name of the resource group.
- console
Screenshot stringStorage Sas Url - Specifies the sas-url to the storage blob into which console screen shot for the requested instance will be written
- instance
Id number - The network virtual appliance instance id for which boot diagnostic logs is being requested
- serial
Console stringStorage Sas Url - Specifies the sas-url to the storage blob into which serial console logs for the requested instance will be written
- network_
virtual_ strappliance_ name - The name of Network Virtual Appliance.
- resource_
group_ strname - The name of the resource group.
- console_
screenshot_ strstorage_ sas_ url - 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_ strstorage_ sas_ url - Specifies the sas-url to the storage blob into which serial console logs for the requested instance will be written
- network
Virtual StringAppliance Name - The name of Network Virtual Appliance.
- resource
Group StringName - The name of the resource group.
- console
Screenshot StringStorage Sas Url - Specifies the sas-url to the storage blob into which console screen shot for the requested instance will be written
- instance
Id Number - The network virtual appliance instance id for which boot diagnostic logs is being requested
- serial
Console StringStorage Sas Url - 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:
- Instance
Id int - 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
- instance
Id Integer - The network virtual appliance instance id for which boot diagnostic logs is being requested
- instance
Id 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
- instance
Id 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
