public static OSVersion GetOSVersion(this ArmClient armClient, ResourceIdentifier id)
 {
     OSVersion.ValidateResourceId(id);
     return(armClient.UseClientContext((uri, credential, clientOptions, pipeline) => new OSVersion(clientOptions, credential, uri, pipeline, id)));
 }