ResourceHealthOptionDefinitions.cs•516 B
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
namespace AzureMcp.ResourceHealth;
public static class ResourceHealthOptionDefinitions
{
public const string ResourceIdName = "resourceId";
public static readonly Option<string> ResourceId = new(
$"--{ResourceIdName}",
"The Azure resource ID to get health status for (e.g., /subscriptions/{sub}/resourceGroups/{rg}/providers/Microsoft.Compute/virtualMachines/{vm})."
)
{
IsRequired = true
};
}